510 self.FilterChoices = ["All", |
510 self.FilterChoices = ["All", |
511 "Interface", " Input", " Output", " InOut", " External", |
511 "Interface", " Input", " Output", " InOut", " External", |
512 "Variables", " Local", " Temp"] #,"Access"] |
512 "Variables", " Local", " Temp"] #,"Access"] |
513 |
513 |
514 # these condense the ColAlignements list |
514 # these condense the ColAlignements list |
515 l = wx.ALIGN_LEFT |
515 left = wx.ALIGN_LEFT |
516 c = wx.ALIGN_CENTER |
516 center = wx.ALIGN_CENTER |
517 |
517 |
518 # Num Name Class Type Loc Init Option Doc |
518 # Num Name Class Type Loc Init Option Doc |
519 self.ColSizes = [40, 80, 100, 80, 110, 120, 100, 160] |
519 self.ColSizes = [40, 80, 100, 80, 110, 120, 100, 160] |
520 self.ColAlignements = [c, l, l, l, l, l, l, l] |
520 self.ColAlignements = [center, left, left, left, left, left, left, left] |
521 self.ColFixedSizeFlag = [True, False, True, False, True, True, True, False] |
521 self.ColFixedSizeFlag = [True, False, True, False, True, True, True, False] |
522 |
522 |
523 else: |
523 else: |
524 # this is an element that cannot have located variables |
524 # this is an element that cannot have located variables |
525 self.Table = VariableTable(self, [], GetVariableTableColnames(False)) |
525 self.Table = VariableTable(self, [], GetVariableTableColnames(False)) |
526 |
526 |
532 self.FilterChoices = ["All", |
532 self.FilterChoices = ["All", |
533 "Interface", " Input", " Output", " InOut", " External", |
533 "Interface", " Input", " Output", " InOut", " External", |
534 "Variables", " Local", " Temp"] |
534 "Variables", " Local", " Temp"] |
535 |
535 |
536 # these condense the ColAlignements list |
536 # these condense the ColAlignements list |
537 l = wx.ALIGN_LEFT |
537 left = wx.ALIGN_LEFT |
538 c = wx.ALIGN_CENTER |
538 center = wx.ALIGN_CENTER |
539 |
539 |
540 # Num Name Class Type Init Option Doc |
540 # Num Name Class Type Init Option Doc |
541 self.ColSizes = [40, 80, 100, 80, 120, 100, 160] |
541 self.ColSizes = [40, 80, 100, 80, 120, 100, 160] |
542 self.ColAlignements = [c, l, l, l, l, l, l] |
542 self.ColAlignements = [center, left, left, left, left, left, left] |
543 self.ColFixedSizeFlag = [True, False, True, False, True, True, False] |
543 self.ColFixedSizeFlag = [True, False, True, False, True, True, False] |
544 |
544 |
545 self.PanelWidthMin = sum(self.ColSizes) |
545 self.PanelWidthMin = sum(self.ColSizes) |
546 |
546 |
547 self.ElementType = element_type |
547 self.ElementType = element_type |
548 self.BodyType = None |
548 self.BodyType = None |