Project

General

Profile

Download (1.13 KB) Statistics
| Branch: | Tag: | Revision:
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
package eu.etaxonomy.taxeditor.ui.section.classification;
10

    
11
import eu.etaxonomy.cdm.model.taxon.Classification;
12
import eu.etaxonomy.taxeditor.ui.element.AbstractCdmEntityWizardPage;
13
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
14
import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement;
15

    
16
/**
17
 * @author n.hoffmann
18
 * @created 23.06.2009
19
 */
20
public class ClassificationWizardPage extends
21
		AbstractCdmEntityWizardPage<Classification> {
22

    
23
	public ClassificationWizardPage(CdmFormFactory formFactory,
24
			Classification entity) {
25
		super(formFactory, entity);
26
		setTitle("Classification");
27
	}
28

    
29
    @Override
30
    public ClassificationDetailElement createElement(ICdmFormElement rootElement) {
31
        ClassificationDetailElement detailElement = formFactory.createClassificationDetailElement(rootElement);
32
        detailElement.setEntity(getEntity());
33
        return detailElement;
34
    }
35
}
(4-4/12)