Revision 71b7253e
Added by Patrick Plitzner over 6 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/checklist/handler/OpenDistributionHandler.java | ||
---|---|---|
22 | 22 |
import org.eclipse.ui.handlers.HandlerUtil; |
23 | 23 |
|
24 | 24 |
import eu.etaxonomy.cdm.model.taxon.Taxon; |
25 |
import eu.etaxonomy.taxeditor.editor.EditorUtil; |
|
26 | 25 |
import eu.etaxonomy.taxeditor.editor.view.checklist.ChecklistEditor; |
26 |
import eu.etaxonomy.taxeditor.model.AbstractUtility; |
|
27 | 27 |
|
28 | 28 |
/** |
29 | 29 |
* @author a.oppermann |
... | ... | |
36 | 36 |
public Object execute(ExecutionEvent event) throws ExecutionException { |
37 | 37 |
|
38 | 38 |
ISelection currentSelection = HandlerUtil.getCurrentSelection(event); |
39 |
ChecklistEditor editor = (ChecklistEditor) EditorUtil.getActiveE4Editor();
|
|
39 |
ChecklistEditor editor = (ChecklistEditor) AbstractUtility.getActiveEditor();
|
|
40 | 40 |
|
41 | 41 |
if (currentSelection instanceof IStructuredSelection) { |
42 | 42 |
|
Also available in: Unified diff
ref #6925 Rename utility getter methods