Ejemplo n.º 1
0
 def __init__(self, parent, backingList, isTask=False, pName=''):
     ReferenceListCtrl.__init__(self, parent,
                                PERSONACHARACTERISTIC_LISTWARRANT_ID,
                                'warrant')
     self.thePcId = -1
     self.thePersonaName = pName
     self.theBackingList = backingList
     self.isTaskIndicator = isTask
Ejemplo n.º 2
0
 def __init__(self, parent, winId, crTypeName, pName):
     wx.Panel.__init__(self, parent)
     topSizer = wx.BoxSizer(wx.VERTICAL)
     pBox = wx.StaticBox(self, -1)
     pBoxSizer = wx.StaticBoxSizer(pBox, wx.HORIZONTAL)
     topSizer.Add(pBoxSizer, 1, wx.EXPAND)
     refList = ReferenceListCtrl(self, winId, crTypeName, pName)
     pBoxSizer.Add(refList, 1, wx.EXPAND)
     self.SetSizer(topSizer)
Ejemplo n.º 3
0
 def load(self,pcId,refs):
   self.thePcId = pcId
   ReferenceListCtrl.load(self,refs)
   self.reloadBackingList()
Ejemplo n.º 4
0
 def __init__(self,parent,backingList,isTask = False,pName = ''):
   ReferenceListCtrl.__init__(self,parent,armid.PERSONACHARACTERISTIC_LISTWARRANT_ID,'warrant')
   self.thePcId = -1
   self.thePersonaName = pName
   self.theBackingList = backingList
   self.isTaskIndicator = isTask