Viewer.py
changeset 10 112985848e1d
parent 8 7ceec5c40d77
child 13 69075340d6a9
equal deleted inserted replaced
9:b29105e29081 10:112985848e1d
  1462         self.InstancesTable.SetColSizes([200, 150, 150])
  1462         self.InstancesTable.SetColSizes([200, 150, 150])
  1463         self.InstancesGrid.SetTable(self.InstancesTable)
  1463         self.InstancesGrid.SetTable(self.InstancesTable)
  1464         self.InstancesGrid.SetRowLabelSize(0)
  1464         self.InstancesGrid.SetRowLabelSize(0)
  1465         self.InstancesTable.ResetView(self.InstancesGrid)
  1465         self.InstancesTable.ResetView(self.InstancesGrid)
  1466 
  1466 
       
  1467     def SetMode(self, mode):
       
  1468         pass
       
  1469 
  1467     def RefreshTypeList(self):
  1470     def RefreshTypeList(self):
  1468         self.TypeList = ""
  1471         self.TypeList = ""
  1469         blocktypes = self.Controler.GetBlockResource()
  1472         blocktypes = self.Controler.GetBlockResource()
  1470         for blocktype in blocktypes:
  1473         for blocktype in blocktypes:
  1471             self.TypeList += ",%s"%blocktype
  1474             self.TypeList += ",%s"%blocktype