def __init__(self,parent,id): self.objectDimension = 'asset' self.objectLabel = 'Assets' EditorBase.__init__(self,parent,id) self.grid = RequirementsGrid(self,self.modCombo,self.envCombo) self.sizer.Add( self.grid,1,wx.EXPAND ) self.resizeColumns() self.SetSizeHints(1225,400) self.SetSizer(self.sizer) self.Bind(wx.EVT_COMBOBOX, self.onObjectChange,id = armid.RMFRAME_TOOL_COMBOOBJECT) self.Bind(wx.EVT_COMBOBOX, self.onEnvironmentChange,id = armid.RMFRAME_TOOL_COMBOENVIRONMENT)
def __init__(self,parent,id): self.objectDimension = 'obstacle' self.objectLabel = 'Obstacles' self.statusBar = parent.statusBar EditorBase.__init__(self,parent,id) self.grid = ObstaclesGrid(self,self.modCombo,self.envCombo) self.sizer.Add( self.grid,1,wx.EXPAND ) self.resizeColumns() self.SetSizeHints(1150,400) self.SetSizer(self.sizer) self.Bind(wx.EVT_COMBOBOX, self.onObjectChange,id = armid.RMFRAME_TOOL_COMBOOBJECT) self.Bind(wx.EVT_COMBOBOX, self.onEnvironmentChange,id = armid.RMFRAME_TOOL_COMBOENVIRONMENT)
def __init__(self,parent,id): self.objectDimension = 'obstacle' self.objectLabel = 'Obstacles' self.statusBar = parent.statusBar EditorBase.__init__(self,parent,id) self.grid = ObstaclesGrid(self,self.modCombo,self.envCombo) self.sizer.Add( self.grid,1,wx.EXPAND ) self.resizeColumns() self.SetSizeHints(1150,400) self.SetSizer(self.sizer) self.Bind(wx.EVT_COMBOBOX, self.onObjectChange,id = RMFRAME_TOOL_COMBOOBJECT) self.Bind(wx.EVT_COMBOBOX, self.onEnvironmentChange,id = RMFRAME_TOOL_COMBOENVIRONMENT)
def __init__(self, parent, id): self.objectDimension = 'asset' self.objectLabel = 'Assets' EditorBase.__init__(self, parent, id) self.grid = RequirementsGrid(self, self.modCombo, self.envCombo) self.sizer.Add(self.grid, 1, wx.EXPAND) self.resizeColumns() self.SetSizeHints(1225, 400) self.SetSizer(self.sizer) self.Bind(wx.EVT_COMBOBOX, self.onObjectChange, id=armid.RMFRAME_TOOL_COMBOOBJECT) self.Bind(wx.EVT_COMBOBOX, self.onEnvironmentChange, id=armid.RMFRAME_TOOL_COMBOENVIRONMENT)