-
- if(taxonNodes.size() == 1){
- openEditor(taxonNodes.iterator().next());
- }else if(taxonNodes.size() > 1){
- // FIXME implement a dialog that shows all possible taxa and let the user choose which he wants to open.
- MessagingUtils.warningDialog(NOT_IMPLEMENTED_YET, NavigationUtil.class, "The accepted taxon is in multiple taxonomic trees. We currently do not know which one you want to open. This case is not handled yet by the software.");
- }else if(taxonNodes.size() == 0){
- // this is an undesired state
- MessagingUtils.warningDialog(Messages.NavigationUtil_INCORRECT_STATE, NavigationUtil.class, Messages.NavigationUtil_INCORRECT_STATE_MESSAGE);
- }
- }
-
- /**
- * <p>showNavigator</p>
- *
- * @return the TaxonNavigator instance if present
- */
- public static TaxonNavigator showNavigator() {
- return (TaxonNavigator) showView(TaxonNavigator.ID);
- }
-
- /**
- * <p>getNavigator</p>
- *
- * @param restore a boolean.
- * @return a {@link eu.etaxonomy.taxeditor.navigation.navigator.TaxonNavigator} object.
- */
- public static TaxonNavigator getNavigator(boolean restore) {
- return (TaxonNavigator) getView(TaxonNavigator.ID, restore);
- }
-
- /**
- * <p>getOpenEditors</p>
- *
- * @return a {@link java.util.Set} object.
- */
- public static Set<IEditorPart> getOpenEditors() {
- return EditorUtil.getOpenEditors();
+ //FIXME E4 migrate/delete
+//
+// if(taxonNodes.size() == 1){
+// openEditor(taxonNodes.iterator().next(), PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell());
+// }else if(taxonNodes.size() > 1){
+// // FIXME implement a dialog that shows all possible taxa and let the user choose which he wants to open.
+// MessagingUtils.warningDialog(NOT_IMPLEMENTED_YET, NavigationUtil.class, "The accepted taxon is in multiple taxonomic trees. We currently do not know which one you want to open. This case is not handled yet by the software.");
+// }else if(taxonNodes.size() == 0){
+// // this is an undesired state
+// MessagingUtils.warningDialog(Messages.NavigationUtil_INCORRECT_STATE, NavigationUtil.class, Messages.NavigationUtil_INCORRECT_STATE_MESSAGE);
+// }