import org.eclipse.ui.PlatformUI;
import eu.etaxonomy.cdm.ext.occurrence.OccurenceQuery;
+import eu.etaxonomy.taxeditor.editor.EditorUtil;
import eu.etaxonomy.taxeditor.store.CdmStore;
/**
query = searchPage.getQuery();
switch (providerSelectionPage.getQueryType()) {
case BIOCASE:
- input = new BioCaseEditorInput(query);
+ input = new BioCaseEditorInput(query, null);
editorId = SpecimenImportEditor.ID;
break;
case GBIF:
break;
}
try {
- page.openEditor(input, editorId, true);
+ EditorUtil.open(input);
} catch ( PartInitException e ) {
//Put your exception handler here if you wish to
}