ref #6190 removing svn property place holder in first line of code - java files
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / ui / section / group / GroupDetailWizardPage.java
1 /**
2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
5 *
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.
8 */
9
10 package eu.etaxonomy.taxeditor.ui.section.group;
11
12 import eu.etaxonomy.cdm.api.conversation.ConversationHolder;
13 import eu.etaxonomy.cdm.model.common.Group;
14 import eu.etaxonomy.taxeditor.ui.element.AbstractCdmEntityWizardPage;
15 import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
16 import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement;
17 import eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailElement;
18
19 /**
20 * @author n.hoffmann
21 * @created Mar 10, 2011
22 * @version 1.0
23 */
24 public class GroupDetailWizardPage extends AbstractCdmEntityWizardPage<Group>{
25
26 /**
27 * @param formFactory
28 * @param conversation
29 * @param entity
30 */
31 public GroupDetailWizardPage(CdmFormFactory formFactory,
32 ConversationHolder conversation, Group entity) {
33 super(formFactory, conversation, entity);
34 setTitle("Group");
35 }
36
37 /* (non-Javadoc)
38 * @see eu.etaxonomy.taxeditor.ui.forms.AbstractCdmEntityWizardPage#createElement(eu.etaxonomy.taxeditor.ui.forms.ICdmFormElement)
39 */
40 @Override
41 public AbstractCdmDetailElement<Group> createElement(
42 ICdmFormElement rootElement) {
43 GroupDetailElement groupElement = formFactory.createGroupDetailElement(rootElement);
44 return groupElement;
45 }
46
47 }