Revision 0caafa75
Added by Andreas Müller over 1 year ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/classification/CloneClassificationWizard.java | ||
---|---|---|
6 | 6 |
* The contents of this file are subject to the Mozilla Public License Version 1.1 |
7 | 7 |
* See LICENSE.TXT at the top of this package for the full license terms. |
8 | 8 |
*/ |
9 |
|
|
10 | 9 |
package eu.etaxonomy.taxeditor.ui.section.classification; |
11 | 10 |
|
12 | 11 |
import javax.inject.Inject; |
... | ... | |
15 | 14 |
import org.eclipse.jface.wizard.Wizard; |
16 | 15 |
import org.eclipse.swt.widgets.Shell; |
17 | 16 |
|
18 |
import eu.etaxonomy.cdm.api.conversation.ConversationHolder; |
|
19 | 17 |
import eu.etaxonomy.cdm.model.reference.Reference; |
20 | 18 |
import eu.etaxonomy.cdm.model.taxon.Classification; |
21 | 19 |
import eu.etaxonomy.cdm.model.taxon.TaxonRelationshipType; |
22 |
import eu.etaxonomy.taxeditor.store.CdmStore; |
|
23 | 20 |
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory; |
24 | 21 |
|
25 | 22 |
/** |
26 |
* |
|
27 | 23 |
* @author pplitzner |
28 | 24 |
* @date Nov 6, 2016 |
29 |
* |
|
30 | 25 |
*/ |
31 |
|
|
32 | 26 |
public class CloneClassificationWizard extends Wizard{ |
33 | 27 |
|
34 | 28 |
private CloneClassificationWizardPage cloneClassificationWizardPage; |
... | ... | |
55 | 49 |
addPage(cloneClassificationWizardPage); |
56 | 50 |
} |
57 | 51 |
|
58 |
|
|
59 | 52 |
@Override |
60 | 53 |
public boolean canFinish() { |
61 | 54 |
return cloneClassificationWizardPage.getClassificationName()!=null |
... | ... | |
71 | 64 |
return true; |
72 | 65 |
} |
73 | 66 |
|
74 |
|
|
75 | 67 |
public String getClassificationName(){ |
76 | 68 |
return classificationName; |
77 | 69 |
} |
... | ... | |
83 | 75 |
public Reference getReference(){ |
84 | 76 |
return reference; |
85 | 77 |
} |
86 |
|
|
87 |
} |
|
78 |
} |
Also available in: Unified diff
ref #10186 further remove ConversationHolder and cleanup