// $Id$
/**
-* Copyright (C) 2007 EDIT
-* European Distributed Institute of Taxonomy
-* http://www.e-taxonomy.eu
-*
-* The contents of this file are subject to the Mozilla Public License Version 1.1
-* See LICENSE.TXT at the top of this package for the full license terms.
-*/
+ * Copyright (C) 2007 EDIT
+ * European Distributed Institute of Taxonomy
+ * http://www.e-taxonomy.eu
+ *
+ * The contents of this file are subject to the Mozilla Public License Version 1.1
+ * See LICENSE.TXT at the top of this package for the full license terms.
+ */
package eu.etaxonomy.taxeditor.ui.section.agent;
import eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailElement;
/**
- * <p>TeamWizardPage class.</p>
- *
+ * <p>
+ * TeamWizardPage class.
+ * </p>
+ *
* @author n.hoffmann
* @created Jun 1, 2010
* @version 1.0
public class TeamWizardPage extends AbstractCdmEntityWizardPage<Team> {
/**
- * <p>Constructor for TeamWizardPage.</p>
- *
- * @param formFactory a {@link eu.etaxonomy.taxeditor.ui.forms.CdmFormFactory} object.
- * @param conversation a {@link eu.etaxonomy.cdm.api.conversation.ConversationHolder} object.
- * @param entity a {@link eu.etaxonomy.cdm.model.agent.Team} object.
+ * <p>
+ * Constructor for TeamWizardPage.
+ * </p>
+ *
+ * @param formFactory
+ * a {@link eu.etaxonomy.taxeditor.ui.forms.CdmFormFactory}
+ * object.
+ * @param conversation
+ * a {@link eu.etaxonomy.cdm.api.conversation.ConversationHolder}
+ * object.
+ * @param entity
+ * a {@link eu.etaxonomy.cdm.model.agent.Team} object.
*/
- public TeamWizardPage(CdmFormFactory formFactory, ConversationHolder conversation, Team entity) {
+ public TeamWizardPage(CdmFormFactory formFactory,
+ ConversationHolder conversation, Team entity) {
super(formFactory, conversation, entity);
setTitle("Team");
}
-
+
/** {@inheritDoc} */
@Override
- public AbstractCdmDetailElement createElement(ICdmFormElement rootElement) {
- TeamDetailElement teamElement = (TeamDetailElement) formFactory.createCdmDetailElement(DetailType.TEAM, rootElement, SWT.NULL);
+ public AbstractCdmDetailElement<Team> createElement(
+ ICdmFormElement rootElement) {
+ TeamDetailElement teamElement = (TeamDetailElement) formFactory
+ .createCdmDetailElement(DetailType.TEAM, rootElement, SWT.NULL);
teamElement.setEntity(entity);
return teamElement;
}