2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
6 * The contents of this file are subject to the Mozilla Public License Version 1.1
7 * See LICENSE.TXT at the top of this package for the full license terms.
10 package eu
.etaxonomy
.taxeditor
.ui
.section
.classification
;
12 import eu
.etaxonomy
.cdm
.api
.conversation
.ConversationHolder
;
13 import eu
.etaxonomy
.cdm
.model
.taxon
.Classification
;
14 import eu
.etaxonomy
.taxeditor
.ui
.element
.AbstractCdmEntityWizardPage
;
15 import eu
.etaxonomy
.taxeditor
.ui
.element
.CdmFormFactory
;
16 import eu
.etaxonomy
.taxeditor
.ui
.element
.ICdmFormElement
;
20 * ClassificationWizardPage class.
27 public class ClassificationWizardPage
extends
28 AbstractCdmEntityWizardPage
<Classification
> {
32 * Constructor for ClassificationWizardPage.
36 * a {@link eu.etaxonomy.taxeditor.ui.element.CdmFormFactory}
39 * a {@link eu.etaxonomy.cdm.api.conversation.ConversationHolder}
42 * a {@link eu.etaxonomy.cdm.model.taxon.TaxonomicTree} object.
44 public ClassificationWizardPage(CdmFormFactory formFactory
,
45 ConversationHolder conversation
, Classification entity
) {
46 super(formFactory
, conversation
, entity
);
47 setTitle("Classification");
55 * eu.etaxonomy.taxeditor.forms.AbstractCdmEntityWizardPage#createElement
56 * (eu.etaxonomy.taxeditor.forms.ICdmFormElement)
60 public ClassificationDetailElement
createElement(ICdmFormElement rootElement
) {
61 ClassificationDetailElement detailElement
= formFactory
.createClassificationDetailElement(rootElement
);
62 detailElement
.setEntity(getEntity());