Revision bd122e26
Added by Katja Luther over 1 year ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/media/handler/AbstractMoveImageHandler.java | ||
---|---|---|
26 | 26 |
import eu.etaxonomy.cdm.model.taxon.Taxon; |
27 | 27 |
import eu.etaxonomy.taxeditor.editor.EditorUtil; |
28 | 28 |
import eu.etaxonomy.taxeditor.editor.e4.TaxonEditorInput; |
29 |
import eu.etaxonomy.taxeditor.editor.name.e4.TaxonNameEditor;
|
|
29 |
import eu.etaxonomy.taxeditor.editor.name.e4.TaxonEditor; |
|
30 | 30 |
import eu.etaxonomy.taxeditor.editor.view.media.e4.MediaViewPartE4; |
31 | 31 |
import eu.etaxonomy.taxeditor.editor.view.media.operation.MoveMediaInListOperation; |
32 | 32 |
import eu.etaxonomy.taxeditor.model.AbstractUtility; |
... | ... | |
46 | 46 |
|
47 | 47 |
MediaViewPartE4 mediaView = (MediaViewPartE4) activePart.getObject(); |
48 | 48 |
|
49 |
TaxonNameEditor editor = null;
|
|
49 |
TaxonEditor editor = null; |
|
50 | 50 |
Object e4WrappedPart = WorkbenchUtility.getE4WrappedPart(mediaView.getSelectionProvidingPart()); |
51 |
if (e4WrappedPart instanceof TaxonNameEditor) {
|
|
52 |
editor = (TaxonNameEditor) e4WrappedPart;
|
|
51 |
if (e4WrappedPart instanceof TaxonEditor) { |
|
52 |
editor = (TaxonEditor) e4WrappedPart; |
|
53 | 53 |
TaxonEditorInput input = editor.getEditorInput(); |
54 | 54 |
Taxon taxon =input.getTaxon(); |
55 | 55 |
|
Also available in: Unified diff
rename TaxonNameEditor to TaxonEditor and NameViewerE4 to NameViewer