Revision 0caafa75
Added by Andreas Müller over 1 year ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/name/NonViralNameWizardPage.java | ||
---|---|---|
6 | 6 |
* The contents of this file are subject to the Mozilla Public License Version 1.1 |
7 | 7 |
* See LICENSE.TXT at the top of this package for the full license terms. |
8 | 8 |
*/ |
9 |
|
|
10 | 9 |
package eu.etaxonomy.taxeditor.ui.section.name; |
11 | 10 |
|
12 | 11 |
import eu.etaxonomy.cdm.model.name.TaxonName; |
... | ... | |
16 | 15 |
import eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailElement; |
17 | 16 |
|
18 | 17 |
/** |
19 |
* <p>NonViralNameWizardPage class.</p> |
|
20 |
* |
|
21 | 18 |
* @author n.hoffmann |
22 | 19 |
* @created Jun 1, 2010 |
23 | 20 |
*/ |
... | ... | |
25 | 22 |
|
26 | 23 |
private NonViralNameDetailElement nameElement; |
27 | 24 |
|
28 |
/** |
|
29 |
* <p>Constructor for NonViralNameWizardPage.</p> |
|
30 |
* |
|
31 |
* @param formFactory a {@link eu.etaxonomy.taxeditor.ui.element.CdmFormFactory} object. |
|
32 |
* @param conversation a {@link eu.etaxonomy.cdm.api.conversation.ConversationHolder} object. |
|
33 |
* @param entity a {@link eu.etaxonomy.cdm.model.name.NonViralName} object. |
|
34 |
*/ |
|
35 | 25 |
public NonViralNameWizardPage(CdmFormFactory formFactory, TaxonName entity) { |
36 | 26 |
super(formFactory, entity); |
37 | 27 |
setTitle("Name"); |
38 | 28 |
} |
39 | 29 |
|
40 |
/** {@inheritDoc} */ |
|
41 | 30 |
@Override |
42 | 31 |
public AbstractCdmDetailElement<TaxonName> createElement(ICdmFormElement rootElement) { |
43 | 32 |
nameElement = formFactory.createNonViralNameDetailElement(rootElement); |
... | ... | |
45 | 34 |
return nameElement; |
46 | 35 |
} |
47 | 36 |
|
48 |
/** {@inheritDoc} */ |
|
49 | 37 |
@Override |
50 | 38 |
public void dispose() { |
51 | 39 |
nameElement.removeElements(); |
52 | 40 |
super.dispose(); |
53 | 41 |
} |
54 |
} |
|
42 |
} |
Also available in: Unified diff
ref #10186 further remove ConversationHolder and cleanup