Revision a6de10b5
Added by Katja Luther over 7 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/operation/DeleteTaxonBaseOperation.java | ||
---|---|---|
8 | 8 |
import org.eclipse.ui.IWorkbenchPage; |
9 | 9 |
|
10 | 10 |
import eu.etaxonomy.cdm.api.conversation.IConversationEnabled; |
11 |
import eu.etaxonomy.cdm.api.service.config.TaxonDeletionConfigurator; |
|
11 |
import eu.etaxonomy.cdm.api.service.DeleteResult; |
|
12 |
import eu.etaxonomy.cdm.api.service.config.TaxonBaseDeletionConfigurator; |
|
12 | 13 |
import eu.etaxonomy.taxeditor.operation.AbstractPersistentPostOperation; |
13 | 14 |
import eu.etaxonomy.taxeditor.operation.IPostOperationEnabled; |
14 | 15 |
import eu.etaxonomy.taxeditor.session.ICdmEntitySessionEnabled; |
15 | 16 |
|
16 | 17 |
public class DeleteTaxonBaseOperation extends AbstractPersistentPostOperation { |
17 | 18 |
|
18 |
protected TaxonDeletionConfigurator configurator; |
|
19 |
protected TaxonBaseDeletionConfigurator configurator; |
|
20 |
protected DeleteResult result; |
|
19 | 21 |
|
20 | 22 |
public DeleteTaxonBaseOperation(String label, |
21 | 23 |
IUndoContext undoContext, |
22 |
TaxonDeletionConfigurator configurator, |
|
24 |
TaxonBaseDeletionConfigurator configurator,
|
|
23 | 25 |
IWorkbenchPage activePage, |
24 | 26 |
IPostOperationEnabled postOperationEnabled, |
25 | 27 |
IConversationEnabled conversationEnabled, |
... | ... | |
49 | 51 |
// TODO Auto-generated method stub |
50 | 52 |
return null; |
51 | 53 |
} |
54 |
|
|
55 |
public DeleteResult getResult(){ |
|
56 |
return result; |
|
57 |
} |
|
52 | 58 |
} |
Also available in: Unified diff
ref #6219: add warning that synonym is deleted immediately