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
.agent
;
13 import org
.eclipse
.swt
.SWT
;
15 import eu
.etaxonomy
.cdm
.api
.conversation
.ConversationHolder
;
16 import eu
.etaxonomy
.cdm
.model
.agent
.Team
;
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
;
24 * TeamWizardPage class.
28 * @created Jun 1, 2010
31 public class TeamWizardPage
extends AbstractCdmEntityWizardPage
<Team
> {
35 * Constructor for TeamWizardPage.
39 * a {@link eu.etaxonomy.taxeditor.ui.element.CdmFormFactory}
42 * a {@link eu.etaxonomy.cdm.api.conversation.ConversationHolder}
45 * a {@link eu.etaxonomy.cdm.model.agent.Team} object.
47 public TeamWizardPage(CdmFormFactory formFactory
,
48 ConversationHolder conversation
, Team entity
) {
49 super(formFactory
, conversation
, entity
);
55 public AbstractCdmDetailElement
<Team
> createElement(
56 ICdmFormElement rootElement
) {
57 TeamDetailElement teamElement
= formFactory
.createTeamDetailElement(rootElement
, SWT
.NULL
);
58 teamElement
.setEntity(entity
);