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.
9 package eu
.etaxonomy
.taxeditor
.ui
.section
.taxon
;
11 import org
.eclipse
.swt
.SWT
;
13 import eu
.etaxonomy
.cdm
.api
.conversation
.ConversationHolder
;
14 import eu
.etaxonomy
.cdm
.model
.taxon
.TaxonBase
;
15 import eu
.etaxonomy
.taxeditor
.ui
.element
.AbstractCdmEntityWizardPage
;
16 import eu
.etaxonomy
.taxeditor
.ui
.element
.CdmFormFactory
;
17 import eu
.etaxonomy
.taxeditor
.ui
.element
.ICdmFormElement
;
18 import eu
.etaxonomy
.taxeditor
.ui
.section
.AbstractCdmDetailElement
;
24 public class TaxonWizardPage
extends AbstractCdmEntityWizardPage
<TaxonBase
<?
>> {
26 public TaxonWizardPage(CdmFormFactory formFactory
, ConversationHolder conversation
,
27 TaxonBase
<?
> entity
) {
28 super(formFactory
, conversation
, entity
);
33 public AbstractCdmDetailElement
<TaxonBase
<?
>> createElement(ICdmFormElement rootElement
) {
34 TaxonBaseDetailElement taxonBaseDetailElement
= formFactory
.createTaxonBaseDetailElement(rootElement
, SWT
.NULL
);
35 taxonBaseDetailElement
.setEntity(entity
);
36 return taxonBaseDetailElement
;
40 public boolean isPageComplete() {