示例#1
0
 def OnSelect(self, select):
     for o in self.pattern['options']:
         wizard.W_HighlightPatternRole(o, self.role, select)
     TreeNode.OnSelect(self, select)
示例#2
0
 def OnSelect(self, select):
     TreeNode.OnSelect(self, select)
     if 'self' in self.part:
         wizard.W_HighlightPatternRole(self.option, self.part['self'],
                                       select)
示例#3
0
 def OnSelect(self, select):
     TreeNode.OnSelect(self, select)
     if not select or self.role not in ('type', 'uri'):
         wizard.W_HighlightPatternRole(self.option, self.role, select)