Revision 3be6ef3e
Added by Niels Hoffmann over 13 years ago
taxeditor-editor/src/main/java/eu/etaxonomy/taxeditor/section/name/NomenclaturalStatusElement.java | ||
---|---|---|
27 | 27 |
import eu.etaxonomy.taxeditor.section.supplemental.AbstractReferencedEntityElement; |
28 | 28 |
|
29 | 29 |
/** |
30 |
* <p>NomenclaturalStatusElement class.</p> |
|
31 |
* |
|
30 | 32 |
* @author n.hoffmann |
31 | 33 |
* @created Nov 5, 2009 |
32 | 34 |
* @version 1.0 |
... | ... | |
42 | 44 |
private SelectionArbitrator selectionArbitrator; |
43 | 45 |
|
44 | 46 |
/** |
45 |
* @param formElement |
|
46 |
* @param element |
|
47 |
* @param removeListener |
|
48 |
* @param propertyChangelistener |
|
49 |
* @param style |
|
47 |
* <p>Constructor for NomenclaturalStatusElement.</p> |
|
48 |
* |
|
49 |
* @param formElement a {@link eu.etaxonomy.taxeditor.forms.AbstractFormSection} object. |
|
50 |
* @param element a {@link eu.etaxonomy.cdm.model.name.NomenclaturalStatus} object. |
|
51 |
* @param removeListener a {@link org.eclipse.swt.events.SelectionListener} object. |
|
52 |
* @param style a int. |
|
53 |
* @param cdmFormFactory a {@link eu.etaxonomy.taxeditor.forms.CdmFormFactory} object. |
|
50 | 54 |
*/ |
51 | 55 |
public NomenclaturalStatusElement(CdmFormFactory cdmFormFactory, AbstractFormSection formElement, |
52 | 56 |
NomenclaturalStatus element, SelectionListener removeListener, int style) { |
... | ... | |
57 | 61 |
/* (non-Javadoc) |
58 | 62 |
* @see eu.etaxonomy.taxeditor.forms.entitysections.AbstractEntitySetElementComposite#createControls(org.eclipse.swt.widgets.Composite, int) |
59 | 63 |
*/ |
64 |
/** {@inheritDoc} */ |
|
60 | 65 |
@Override |
61 | 66 |
public void createControls(ICdmFormElement element, int style) { |
62 | 67 |
nomenclaturalStatusTypeCombo = formFactory.createTermComboElement(TermComboType.NOMENCLATURALSTATUSTYPE, this, "Nomenclatural Status Type", null, style); |
... | ... | |
68 | 73 |
/* (non-Javadoc) |
69 | 74 |
* @see eu.etaxonomy.taxeditor.forms.entitysections.AbstractEntitySetElementComposite#setElement(eu.etaxonomy.cdm.model.common.VersionableEntity) |
70 | 75 |
*/ |
76 |
/** {@inheritDoc} */ |
|
71 | 77 |
@Override |
72 | 78 |
public void setEntity(NomenclaturalStatus entity) { |
73 | 79 |
super.setEntity(entity); |
... | ... | |
75 | 81 |
ruleConsideredText.setText(entity.getRuleConsidered()); |
76 | 82 |
} |
77 | 83 |
|
84 |
/** |
|
85 |
* <p>Getter for the field <code>selectionArbitrator</code>.</p> |
|
86 |
* |
|
87 |
* @return a {@link eu.etaxonomy.taxeditor.forms.SelectionArbitrator} object. |
|
88 |
*/ |
|
78 | 89 |
public SelectionArbitrator getSelectionArbitrator() { |
79 | 90 |
return selectionArbitrator; |
80 | 91 |
} |
... | ... | |
83 | 94 |
* (non-Javadoc) |
84 | 95 |
* @see eu.etaxonomy.taxeditor.section.AbstractEntityCollectionElement#handleEvent(java.lang.Object) |
85 | 96 |
*/ |
97 |
/** {@inheritDoc} */ |
|
86 | 98 |
@Override |
87 | 99 |
public void handleEvent(Object eventSource) { |
88 | 100 |
if(eventSource == nomenclaturalStatusTypeCombo){ |
Also available in: Unified diff
performed javacscript:fix and worked on documentation