Exemple #1
0
    def __init__(self, parent, variable, store_data=False):
        """
        Constructor
        @param parent: Reference to debug variable panel
        @param variable: Path of variable to debug
        """
        DebugDataConsumer.__init__(self)

        self.Parent = parent
        self.Variable = variable
        self.StoreData = store_data

        # Get Variable data type
        self.RefreshVariableType()
 def __init__(self, parent, variable, store_data=False):
     """
     Constructor
     @param parent: Reference to debug variable panel
     @param variable: Path of variable to debug
     """
     DebugDataConsumer.__init__(self)
     
     self.Parent = parent
     self.Variable = variable
     self.StoreData = store_data
     
     # Get Variable data type
     self.RefreshVariableType()
Exemple #3
0
 def __init__(self, parent, type, name, id=None):
     Graphic_Element.__init__(self, parent)
     DebugDataConsumer.__init__(self)
     self.Type = type
     self.Name = name
     self.Id = id
     self.Size = wx.Size(LD_ELEMENT_SIZE[0], LD_ELEMENT_SIZE[1])
     self.Highlights = {}
     # Create an input and output connector
     self.Input = Connector(self, "", "BOOL", wx.Point(0, self.Size[1] / 2 + 1), WEST)
     self.Output = Connector(self, "", "BOOL", wx.Point(self.Size[0], self.Size[1] / 2 + 1), EAST)
     self.PreviousValue = False
     self.PreviousSpreading = False
     self.RefreshNameSize()
     self.RefreshTypeSize()
Exemple #4
0
 def __init__(self, parent, type, name, id = None):
     Graphic_Element.__init__(self, parent)
     DebugDataConsumer.__init__(self)
     self.Type = type
     self.Name = name
     self.Id = id
     self.Size = wx.Size(LD_ELEMENT_SIZE[0], LD_ELEMENT_SIZE[1])
     self.Highlights = {}
     # Create an input and output connector
     self.Input = Connector(self, "", "BOOL", wx.Point(0, self.Size[1] / 2 + 1), WEST)
     self.Output = Connector(self, "", "BOOL", wx.Point(self.Size[0], self.Size[1] / 2 + 1), EAST)
     self.PreviousValue = False
     self.PreviousSpreading = False
     self.RefreshNameSize()
     self.RefreshTypeSize()