protected boolean isSynchronizing() { if (view != null) { return view.isSyncronizing(); } return false; }
protected boolean isSynchronizing() { if (view != null) { return view.isSyncronizing(); } return false; }
protected boolean isSynchronizing() { if (view != null) { return view.isSyncronizing(); } return false; }
/** * A convenience method that sets the specified entity to be the * selected entity in the <code>OWLSelectionModel</code>. */ protected void setGlobalSelection(OWLEntity owlEntity) { if (getView() != null) { if (getView().isSyncronizing()) { getOWLWorkspace().getOWLSelectionModel().setSelectedEntity(owlEntity); } } }
/** * A convenience method that sets the specified entity to be the * selected entity in the <code>OWLSelectionModel</code>. */ protected void setGlobalSelection(OWLEntity owlEntity) { if (getView() != null) { if (getView().isSyncronizing()) { getOWLWorkspace().getOWLSelectionModel().setSelectedEntity(owlEntity); } } }
/** * A convenience method that sets the specified entity to be the * selected entity in the <code>OWLSelectionModel</code>. */ protected void setGlobalSelection(OWLEntity owlEntity) { if (getView() != null) { if (getView().isSyncronizing()) { if(this instanceof SelectionDriver) { getSelectionPlane().ifPresent(d -> d.transmitSelection((SelectionDriver) this, owlEntity)); } else { getOWLWorkspace().getOWLSelectionModel().setSelectedEntity(owlEntity); } } } }
/** * A convenience method that sets the specified entity to be the * selected entity in the <code>OWLSelectionModel</code>. */ protected void setGlobalSelection(OWLEntity owlEntity) { if (getView() != null) { if (getView().isSyncronizing()) { if(this instanceof SelectionDriver) { getSelectionPlane().ifPresent(d -> d.transmitSelection((SelectionDriver) this, owlEntity)); } else { getOWLWorkspace().getOWLSelectionModel().setSelectedEntity(owlEntity); } } } }