Revision bd122e26
Added by Katja Luther over 1 year ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/e4/handler/SwapSynonymAndAcceptedHandler.java | ||
---|---|---|
35 | 35 |
import eu.etaxonomy.cdm.persistence.dto.TaxonNodeDto; |
36 | 36 |
import eu.etaxonomy.taxeditor.editor.EditorUtil; |
37 | 37 |
import eu.etaxonomy.taxeditor.editor.l10n.Messages; |
38 |
import eu.etaxonomy.taxeditor.editor.name.e4.TaxonNameEditor;
|
|
38 |
import eu.etaxonomy.taxeditor.editor.name.e4.TaxonEditor; |
|
39 | 39 |
import eu.etaxonomy.taxeditor.editor.name.handler.NameEditorMenuPropertyTester; |
40 | 40 |
import eu.etaxonomy.taxeditor.editor.name.operation.SwapSynonymAndAcceptedOperation; |
41 | 41 |
import eu.etaxonomy.taxeditor.event.EventUtility; |
... | ... | |
52 | 52 |
*/ |
53 | 53 |
public class SwapSynonymAndAcceptedHandler implements IPostOperationEnabled { |
54 | 54 |
|
55 |
protected TaxonNameEditor editor;
|
|
55 |
protected TaxonEditor editor; |
|
56 | 56 |
protected Taxon taxon; |
57 | 57 |
protected EPartService partService; |
58 | 58 |
protected MPart activePart; |
... | ... | |
72 | 72 |
this.application = application; |
73 | 73 |
this.partService = partService; |
74 | 74 |
|
75 |
editor = (TaxonNameEditor) activePart.getObject();
|
|
75 |
editor = (TaxonEditor) activePart.getObject(); |
|
76 | 76 |
|
77 | 77 |
Synonym synonym = (Synonym) selection.getFirstElement(); |
78 | 78 |
|
Also available in: Unified diff
rename TaxonNameEditor to TaxonEditor and NameViewerE4 to NameViewer