Revision d9fbbe86
Added by Patrick Plitzner over 5 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/descriptive/operation/CreateTaxonDescriptionOperation.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.TaxonDescription; |
14 | 15 |
import eu.etaxonomy.cdm.model.taxon.Taxon; |
15 | 16 |
import eu.etaxonomy.taxeditor.operation.AbstractDescriptionPostOperation; |
... | ... | |
22 | 23 |
*/ |
23 | 24 |
public class CreateTaxonDescriptionOperation extends AbstractDescriptionPostOperation<Taxon, TaxonDescription> { |
24 | 25 |
|
25 |
/** |
|
26 |
* @param label |
|
27 |
* @param undoContext |
|
28 |
* @param describable |
|
29 |
* @param postOperationEnabled |
|
30 |
* @param isImageGallery |
|
31 |
*/ |
|
32 |
public CreateTaxonDescriptionOperation(String label, IUndoContext undoContext, Taxon describable, IPostOperationEnabled postOperationEnabled) { |
|
33 |
super(label, undoContext, describable, postOperationEnabled, false); |
|
26 |
public CreateTaxonDescriptionOperation(String label, IUndoContext undoContext, Taxon describable, |
|
27 |
IdentifiableSource source, IPostOperationEnabled postOperationEnabled) { |
|
28 |
super(label, undoContext, describable, source, postOperationEnabled, false); |
|
34 | 29 |
} |
35 | 30 |
|
36 |
/** |
|
37 |
* @param label |
|
38 |
* @param undoContext |
|
39 |
* @param describable |
|
40 |
* @param postOperationEnabled |
|
41 |
* @param isImageGallery |
|
42 |
*/ |
|
43 |
public CreateTaxonDescriptionOperation(String label, IUndoContext undoContext, Taxon describable, IPostOperationEnabled postOperationEnabled, boolean isImageGallery) { |
|
44 |
super(label, undoContext, describable, postOperationEnabled, isImageGallery); |
|
31 |
public CreateTaxonDescriptionOperation(String label, IUndoContext undoContext, Taxon describable, |
|
32 |
IdentifiableSource source, IPostOperationEnabled postOperationEnabled, boolean isImageGallery) { |
|
33 |
super(label, undoContext, describable, source, postOperationEnabled, isImageGallery); |
|
45 | 34 |
} |
46 | 35 |
|
47 | 36 |
@Override |
Also available in: Unified diff
ref #7775 Add option "Create new factual data set with sources"