1 package net.mograsim.logic.ui.model.components.submodels;
3 import net.haspamelodica.swt.helper.gcs.GeneralGC;
4 import net.haspamelodica.swt.helper.swtobjectwrappers.Rectangle;
5 import net.mograsim.logic.ui.model.ViewModelModifiable;
6 import net.mograsim.logic.ui.model.components.GUIComponent;
7 import net.mograsim.logic.ui.model.wires.Pin;
9 public class SubmodelInterface extends GUIComponent
11 public SubmodelInterface(ViewModelModifiable model)
17 public void render(GeneralGC gc, Rectangle visibleRegion)
18 {// nothing to do here
23 * This method is only marked public in {@link SubmodelInterface} for {@link SubmodelComponent} to be able to add / remove pins to /
24 * from a SubmodelInterface.<br>
26 * @see GUIComponent#removePin(Pin)
28 * @author Daniel Kirschten
31 public void addPin(Pin pin)
38 * This method is only marked public in {@link SubmodelInterface} for {@link SubmodelComponent} to be able to add / remove pins to /
39 * from a SubmodelInterface.<br>
41 * @see GUIComponent#removePin(Pin)
43 * @author Daniel Kirschten
46 protected void removePin(String name)
48 super.removePin(name);