Added methods to get a TriStateBuffer's pins comfortably
[Mograsim.git] / net.mograsim.logic.model / src / net / mograsim / logic / model / model / components / atomic / GUITriStateBuffer.java
index c9036d2..83b89f5 100644 (file)
@@ -61,6 +61,21 @@ public class GUITriStateBuffer extends GUIComponent
                addPin(enable);
        }
 
+       public final Pin getInputPin()
+       {
+               return input;
+       }
+
+       public final Pin getOutputPin()
+       {
+               return output;
+       }
+
+       public final Pin getEnablePin()
+       {
+               return enable;
+       }
+
        @Override
        public void render(GeneralGC gc, Rectangle visibleRegion)
        {