def OnSelect(self, select): for o in self.pattern['options']: wizard.W_HighlightPatternRole(o, self.role, select) TreeNode.OnSelect(self, select)
def OnSelect(self, select): TreeNode.OnSelect(self, select) if 'self' in self.part: wizard.W_HighlightPatternRole(self.option, self.part['self'], select)
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)