112113114115116117118119
scene.setDevice(design.getDevice()); scene.setWireEnumerator(design.getWireEnumerator()); // Create hard macro blocks for(ModuleInstance mi : design.getModuleInstances()){ scene.addItem(new GuiModuleInstance(mi, scene, false)); } }