public static String getProtegeProperty(String key) { // The key should start with the prefix symbol. if (key.startsWith(PROTEGE_PROPERTY_PREFIX)) { return ProtegeProperties.getInstance().getProperty(key.substring(1, key.length())); } return null; }
public static String getProtegeProperty(String key) { // The key should start with the prefix symbol. if (key.startsWith(PROTEGE_PROPERTY_PREFIX)) { return ProtegeProperties.getInstance().getProperty(key.substring(1, key.length())); } return null; }
public void visit(OWLDatatype owlDatatype) { nav = ProtegeProperties.getInstance().getProperty(ProtegeProperties.DATATYPE_VIEW_CATEGORY); } }
public void visit(OWLDataProperty owlDataProperty) { nav = ProtegeProperties.getInstance().getProperty(ProtegeProperties.DATA_PROPERTY_VIEW_CATEGORY); }
public void visit(OWLNamedIndividual owlIndividual) { nav = ProtegeProperties.getInstance().getProperty(ProtegeProperties.INDIVIDUAL_VIEW_CATEGORY); }
public static String getProtegeProperty(String key) { // The key should start with the prefix symbol. if (key.startsWith(PROTEGE_PROPERTY_PREFIX)) { return ProtegeProperties.getInstance().getProperty(key.substring(1, key.length())); } return null; }
public static Color getOWLOntologyColor() { return PropertyUtil.getColor(ProtegeProperties.getInstance().getProperty(ProtegeProperties.ONTOLOGY_COLOR_KEY), Color.GRAY); } }
public static Color getOWLOntologyColor() { return PropertyUtil.getColor(ProtegeProperties.getInstance().getProperty(ProtegeProperties.ONTOLOGY_COLOR_KEY), Color.GRAY); } }
public static Color getOWLObjectPropertyColor() { return PropertyUtil.getColor(ProtegeProperties.getInstance().getProperty(ProtegeProperties.OBJECT_PROPERTY_COLOR_KEY), Color.GRAY); }
public static Color getOWLClassColor() { return PropertyUtil.getColor(ProtegeProperties.getInstance().getProperty(ProtegeProperties.CLASS_COLOR_KEY), Color.GRAY); }
public static Color getOWLAnnotationPropertyColor() { return PropertyUtil.getColor(ProtegeProperties.getInstance().getProperty(ProtegeProperties.ANNOTATION_PROPERTY_COLOR_KEY), Color.GRAY); }
public static Color getOWLDatatypeColor() { return PropertyUtil.getColor(ProtegeProperties.getInstance().getProperty(ProtegeProperties.DATATYPE_COLOR_KEY), Color.GRAY); }
public static Color getOWLIndividualColor() { return PropertyUtil.getColor(ProtegeProperties.getInstance().getProperty(ProtegeProperties.INDIVIDUAL_COLOR_KEY), Color.GRAY); }
public static Color getOWLOntologyColor() { return PropertyUtil.getColor(ProtegeProperties.getInstance().getProperty(ProtegeProperties.ONTOLOGY_COLOR_KEY), Color.GRAY); } }
public static Color getOWLDataPropertyColor() { return PropertyUtil.getColor(ProtegeProperties.getInstance().getProperty(ProtegeProperties.DATA_PROPERTY_COLOR_KEY), Color.GRAY); }
public static Color getOWLAnnotationPropertyColor() { return PropertyUtil.getColor(ProtegeProperties.getInstance().getProperty(ProtegeProperties.ANNOTATION_PROPERTY_COLOR_KEY), Color.GRAY); }
public static Color getOWLOntologyColor() { return PropertyUtil.getColor(ProtegeProperties.getInstance().getProperty(ProtegeProperties.ONTOLOGY_COLOR_KEY), Color.GRAY); } }
public static Color getOWLIndividualColor() { return PropertyUtil.getColor(ProtegeProperties.getInstance().getProperty(ProtegeProperties.INDIVIDUAL_COLOR_KEY), Color.GRAY); }
private boolean canNavigate(String type){ ViewComponentPlugin plugin = getWorkspace().getViewManager().getViewComponentPlugin(getView().getId()); return plugin != null && plugin.getNavigates().contains(ProtegeProperties.getInstance().getProperty(type)); }
private boolean canNavigate(String type){ ViewComponentPlugin plugin = getWorkspace().getViewManager().getViewComponentPlugin(getView().getId()); return plugin != null && plugin.getNavigates().contains(ProtegeProperties.getInstance().getProperty(type)); }