Revision 872fe921
Added by Katja Luther about 5 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/descriptive/operation/CreateNamedescriptionOperation.java | ||
---|---|---|
10 | 10 |
|
11 | 11 |
import org.eclipse.core.commands.operations.IUndoContext; |
12 | 12 |
|
13 |
import eu.etaxonomy.cdm.model.common.IdentifiableSource; |
|
13 | 14 |
import eu.etaxonomy.cdm.model.description.DescriptionBase; |
14 | 15 |
import eu.etaxonomy.cdm.model.description.TaxonNameDescription; |
15 | 16 |
import eu.etaxonomy.cdm.model.name.TaxonName; |
... | ... | |
21 | 22 |
* @since 25 Jan 2019 |
22 | 23 |
* |
23 | 24 |
*/ |
24 |
public class CreateNamedescriptionOperation extends AbstractDescriptionPostOperation<TaxonName, DescriptionBase> {
|
|
25 |
public class CreateNameDescriptionOperation extends AbstractDescriptionPostOperation<TaxonName, DescriptionBase> {
|
|
25 | 26 |
|
26 |
public CreateNamedescriptionOperation(String label, IUndoContext undoContext, TaxonName describable, IPostOperationEnabled postOperationEnabled) {
|
|
27 |
public CreateNameDescriptionOperation(String label, IUndoContext undoContext, TaxonName describable, IPostOperationEnabled postOperationEnabled) {
|
|
27 | 28 |
super(label, undoContext, describable, null, postOperationEnabled); |
28 | 29 |
} |
29 | 30 |
|
31 |
public CreateNameDescriptionOperation(String label, IUndoContext undoContext, TaxonName describable, |
|
32 |
IdentifiableSource source, IPostOperationEnabled postOperationEnabled) { |
|
33 |
super(label, undoContext, describable, source, postOperationEnabled, false); |
|
34 |
} |
|
35 |
|
|
30 | 36 |
|
31 | 37 |
/** |
32 | 38 |
* {@inheritDoc} |
Also available in: Unified diff
ref #8124: fix add NameDescription with source