class EditElementView(ElementForm): element = DialogElement() label = Input(id='name') dragndrop = DragandDrop() @property def is_displayed(self): return (self.in_customization and self.service_dialogs.is_opened and self.label.text == self.context['object'].dialog.label)
class EditElementView(ElementForm): element = DialogElement() label = Input(id='name') dragndrop = DragandDrop() @property def is_displayed(self): return (self.in_customization and self.title.text == "Automate Customization" and self.label.read() == self.context['object'].dialog.label)
class EditElementView(ElementForm): save_button = Button('Save') reset_button = Button('Reset') dragndrop = DragandDrop() @property def is_displayed(self): return (self.in_customization and self.service_dialogs.is_opened and self.title.text == "Editing Dialog {} [Element Information]".format( self.ele_label))