bool isVisible(const SelectionContext &selectionContext) const { if (selectionContext.singleNodeIsSelected()) return selectionContext.currentSingleSelectedNode().metaInfo().hasProperty("color"); return false; }
bool AddTabDesignerAction::isVisible(const SelectionContext &selectionContext) const { if (selectionContext.singleNodeIsSelected()) { ModelNode selectedModelNode = selectionContext.currentSingleSelectedNode(); return isTabView(selectedModelNode) || isTabAndParentIsTabView(selectedModelNode); } return false; }
bool isVisible(const SelectionContext &selectionContext) const { if (selectionContext.singleNodeIsSelected()) return modelNodeHasUrlSource(selectionContext.currentSingleSelectedNode()); return false; }