Revision b0ce5b17
Added by Patrick Plitzner over 10 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/agent/PersonWizardPage.java | ||
---|---|---|
1 | 1 |
// $Id$ |
2 | 2 |
/** |
3 | 3 |
* Copyright (C) 2007 EDIT |
4 |
* European Distributed Institute of Taxonomy
|
|
4 |
* European Distributed Institute of Taxonomy |
|
5 | 5 |
* http://www.e-taxonomy.eu |
6 |
*
|
|
6 |
* |
|
7 | 7 |
* The contents of this file are subject to the Mozilla Public License Version 1.1 |
8 | 8 |
* See LICENSE.TXT at the top of this package for the full license terms. |
9 | 9 |
*/ |
... | ... | |
17 | 17 |
import eu.etaxonomy.taxeditor.ui.element.AbstractCdmEntityWizardPage; |
18 | 18 |
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory; |
19 | 19 |
import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement; |
20 |
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory.DetailType; |
|
21 | 20 |
import eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailElement; |
22 | 21 |
|
23 | 22 |
/** |
... | ... | |
41 | 40 |
super(formFactory, conversation, entity); |
42 | 41 |
setTitle("Person"); |
43 | 42 |
} |
44 |
|
|
45 |
|
|
43 |
|
|
44 |
|
|
46 | 45 |
/* (non-Javadoc) |
47 | 46 |
* @see eu.etaxonomy.taxeditor.forms.CdmEntityWizardPage#createElement(eu.etaxonomy.taxeditor.forms.ICdmFormElement) |
48 | 47 |
*/ |
49 | 48 |
/** {@inheritDoc} */ |
50 | 49 |
@Override |
51 | 50 |
public AbstractCdmDetailElement<Person> createElement(ICdmFormElement rootElement) { |
52 |
PersonDetailElement personElement = (PersonDetailElement) formFactory.createCdmDetailElement(DetailType.PERSON, rootElement, SWT.NULL);
|
|
51 |
PersonDetailElement personElement = formFactory.createPersonDetailElement(rootElement, SWT.NULL);
|
|
53 | 52 |
personElement.setEntity(entity); |
54 | 53 |
return personElement; |
55 | 54 |
} |
Also available in: Unified diff
merged trunk into branch