3 * Copyright (C) 2007 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
11 package eu
.etaxonomy
.taxeditor
.ui
.section
.taxon
;
13 import org
.eclipse
.swt
.SWT
;
15 import eu
.etaxonomy
.cdm
.api
.conversation
.ConversationHolder
;
16 import eu
.etaxonomy
.cdm
.model
.taxon
.TaxonBase
;
17 import eu
.etaxonomy
.taxeditor
.ui
.element
.AbstractCdmEntityWizardPage
;
18 import eu
.etaxonomy
.taxeditor
.ui
.element
.CdmFormFactory
;
19 import eu
.etaxonomy
.taxeditor
.ui
.element
.ICdmFormElement
;
20 import eu
.etaxonomy
.taxeditor
.ui
.section
.AbstractCdmDetailElement
;
28 public class TaxonWizardPage
extends AbstractCdmEntityWizardPage
<TaxonBase
> {
30 public TaxonWizardPage(CdmFormFactory formFactory
, ConversationHolder conversation
,
32 super(formFactory
, conversation
, entity
);
39 public AbstractCdmDetailElement
<TaxonBase
> createElement(ICdmFormElement rootElement
) {
40 TaxonBaseDetailElement taxonBaseDetailElement
= formFactory
.createTaxonBaseDetailElement(rootElement
, SWT
.NULL
);
41 taxonBaseDetailElement
.setEntity(entity
);
42 return taxonBaseDetailElement
;
46 public boolean isPageComplete() {