--- a/graphics/SFC_Objects.py Mon Aug 13 18:06:50 2007 +0200
+++ b/graphics/SFC_Objects.py Tue Aug 14 14:53:06 2007 +0200
@@ -78,6 +78,19 @@
self.Action.UnConnect(delete = self.Parent.GetDrawingMode() == FREEDRAWING_MODE)
# Add output connector to step
+ def AddInput(self):
+ if not self.Input:
+ self.Input = Connector(self, "", "ANY", wx.Point(self.Size[0] / 2, 0), NORTH)
+ self.RefreshBoundingBox()
+
+ # Remove output connector from step
+ def RemoveInput(self):
+ if self.Input:
+ self.Input.UnConnect()
+ self.Input = None
+ self.RefreshBoundingBox()
+
+ # Add output connector to step
def AddOutput(self):
if not self.Output:
self.Output = Connector(self, "", "ANY", wx.Point(self.Size[0] / 2, self.Size[1]), SOUTH)