def is_displayed(self): return (self.in_explorer and self.datastore.is_opened and (f'Editing Automate Method "{self.context["object"].name}"' in self.title.text) and check_tree_path( self.datastore.tree.currently_selected, self.context["object"].tree_path, partial=True, ))
def is_displayed(self): return ( self.in_explorer and self.datastore.is_opened and self.title.text == 'Adding a new Automate Method' and check_tree_path( self.datastore.tree.currently_selected, self.context['object'].tree_path))
def is_displayed(self): return (self.in_explorer and self.datastore.is_opened and 'Editing Automate Method "{}"'.format( self.context['object'].name) in self.title.text and (BZ(1704439).blocks or check_tree_path(self.datastore.tree.currently_selected, self.context['object'].tree_path, partial=True)))
def is_displayed(self): return (self.in_explorer and self.title.text.startswith( 'Automate Instance [{}'.format(self.context['object'].display_name or self.context['object'].name)) and self.datastore.is_opened and (BZ(1704439).blocks or check_tree_path(self.datastore.tree.currently_selected, self.context["object"].tree_path)))
def is_displayed(self): return ( self.in_explorer and self.title.text == 'Copy Automate Instance' and self.datastore.is_opened and check_tree_path( self.datastore.tree.currently_selected, self.context['object'].tree_path))
def is_displayed(self): return ( self.in_explorer and self.datastore.is_opened and check_tree_path( self.datastore.tree.currently_selected, self.context['object'].tree_path) and self.title.text == 'Editing Automate Namespace "{}"' .format(self.context['object'].name) )
def is_displayed(self): return (self.in_explorer and self.title.text == 'Automate Class "{}"'.format( self.context['object'].display_name or self.context['object'].name) and self.datastore.is_opened and (BZ(1704439).blocks or check_tree_path( self.datastore.tree.currently_selected, self.context["object"].tree_path, partial=True, )))