Revision bd122e26
Added by Katja Luther over 1 year ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/e4/handler/DeleteTaxonBaseHandler.java | ||
---|---|---|
31 | 31 |
import eu.etaxonomy.cdm.model.taxon.TaxonRelationshipType; |
32 | 32 |
import eu.etaxonomy.taxeditor.editor.internal.TaxeditorEditorPlugin; |
33 | 33 |
import eu.etaxonomy.taxeditor.editor.l10n.Messages; |
34 |
import eu.etaxonomy.taxeditor.editor.name.e4.TaxonNameEditor;
|
|
34 |
import eu.etaxonomy.taxeditor.editor.name.e4.TaxonEditor; |
|
35 | 35 |
import eu.etaxonomy.taxeditor.editor.name.handler.NameEditorMenuPropertyTester; |
36 | 36 |
import eu.etaxonomy.taxeditor.model.DeleteResultMessagingUtils; |
37 | 37 |
import eu.etaxonomy.taxeditor.operation.AbstractPostOperation; |
... | ... | |
47 | 47 |
*/ |
48 | 48 |
public class DeleteTaxonBaseHandler implements IPostOperationEnabled { |
49 | 49 |
|
50 |
protected TaxonNameEditor editor;
|
|
50 |
protected TaxonEditor editor; |
|
51 | 51 |
|
52 | 52 |
@Execute |
53 | 53 |
public void execute(@Named(IServiceConstants.ACTIVE_PART)MPart activePart, |
... | ... | |
56 | 56 |
MHandledMenuItem menuItem, |
57 | 57 |
UISynchronize sync) { |
58 | 58 |
|
59 |
editor = (TaxonNameEditor) activePart.getObject();
|
|
59 |
editor = (TaxonEditor) activePart.getObject(); |
|
60 | 60 |
|
61 | 61 |
doExecute(menuItem.getLocalizedLabel(), shell, editor, selection.getFirstElement(), sync); |
62 | 62 |
|
63 | 63 |
} |
64 | 64 |
|
65 |
protected void doExecute(String commandName, Shell shell, TaxonNameEditor editor, Object selectedElement,
|
|
65 |
protected void doExecute(String commandName, Shell shell, TaxonEditor editor, Object selectedElement, |
|
66 | 66 |
UISynchronize sync) { |
67 | 67 |
AbstractPostOperation operation = null; |
68 | 68 |
|
Also available in: Unified diff
rename TaxonNameEditor to TaxonEditor and NameViewerE4 to NameViewer