Revision 0caafa75
Added by Andreas Müller over 1 year ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/classification/ClassificationWizardPage.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 eu.etaxonomy.cdm.model.taxon.Classification; |
... | ... | |
15 | 14 |
import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement; |
16 | 15 |
|
17 | 16 |
/** |
18 |
* <p> |
|
19 |
* ClassificationWizardPage class. |
|
20 |
* </p> |
|
21 |
* |
|
22 | 17 |
* @author n.hoffmann |
23 | 18 |
* @created 23.06.2009 |
24 |
* @version 1.0 |
|
25 | 19 |
*/ |
26 | 20 |
public class ClassificationWizardPage extends |
27 | 21 |
AbstractCdmEntityWizardPage<Classification> { |
28 | 22 |
|
29 |
/** |
|
30 |
* <p> |
|
31 |
* Constructor for ClassificationWizardPage. |
|
32 |
* </p> |
|
33 |
* |
|
34 |
* @param formFactory |
|
35 |
* a {@link eu.etaxonomy.taxeditor.ui.element.CdmFormFactory} |
|
36 |
* object. |
|
37 |
* @param conversation |
|
38 |
* a {@link eu.etaxonomy.cdm.api.conversation.ConversationHolder} |
|
39 |
* object. |
|
40 |
* @param entity |
|
41 |
* a {@link eu.etaxonomy.cdm.model.taxon.TaxonomicTree} object. |
|
42 |
*/ |
|
43 | 23 |
public ClassificationWizardPage(CdmFormFactory formFactory, |
44 | 24 |
Classification entity) { |
45 | 25 |
super(formFactory, entity); |
46 | 26 |
setTitle("Classification"); |
47 |
|
|
48 | 27 |
} |
49 | 28 |
|
50 |
/* |
|
51 |
* (non-Javadoc) |
|
52 |
* |
|
53 |
* @see |
|
54 |
* eu.etaxonomy.taxeditor.forms.AbstractCdmEntityWizardPage#createElement |
|
55 |
* (eu.etaxonomy.taxeditor.forms.ICdmFormElement) |
|
56 |
*/ |
|
57 |
/** {@inheritDoc} */ |
|
58 | 29 |
@Override |
59 | 30 |
public ClassificationDetailElement createElement(ICdmFormElement rootElement) { |
60 | 31 |
ClassificationDetailElement detailElement = formFactory.createClassificationDetailElement(rootElement); |
61 | 32 |
detailElement.setEntity(getEntity()); |
62 | 33 |
return detailElement; |
63 | 34 |
} |
64 |
|
|
65 |
} |
|
35 |
} |
Also available in: Unified diff
ref #10186 further remove ConversationHolder and cleanup