Fixes #2309
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / ui / section / agent / TeamWizardPage.java
index 20765f6c9d356af12641f115f14aec99a8c2f081..91bceab123bcba3a04ffc164afdaaab7de34aeec 100644 (file)
@@ -1,12 +1,12 @@
 // $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;
 
@@ -21,8 +21,10 @@ import eu.etaxonomy.taxeditor.ui.forms.ICdmFormElement;
 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
@@ -30,21 +32,31 @@ import eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailElement;
 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;
        }