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
.taxon
;
12 import org
.eclipse
.swt
.SWT
;
14 import eu
.etaxonomy
.cdm
.api
.conversation
.ConversationHolder
;
15 import eu
.etaxonomy
.cdm
.model
.taxon
.TaxonBase
;
16 import eu
.etaxonomy
.taxeditor
.ui
.element
.AbstractCdmEntityWizardPage
;
17 import eu
.etaxonomy
.taxeditor
.ui
.element
.CdmFormFactory
;
18 import eu
.etaxonomy
.taxeditor
.ui
.element
.ICdmFormElement
;
19 import eu
.etaxonomy
.taxeditor
.ui
.section
.AbstractCdmDetailElement
;
27 public class TaxonWizardPage
extends AbstractCdmEntityWizardPage
<TaxonBase
> {
29 public TaxonWizardPage(CdmFormFactory formFactory
, ConversationHolder conversation
,
31 super(formFactory
, conversation
, entity
);
38 public AbstractCdmDetailElement
<TaxonBase
> createElement(ICdmFormElement rootElement
) {
39 TaxonBaseDetailElement taxonBaseDetailElement
= formFactory
.createTaxonBaseDetailElement(rootElement
, SWT
.NULL
);
40 taxonBaseDetailElement
.setEntity(entity
);
41 return taxonBaseDetailElement
;
45 public boolean isPageComplete() {