Revision 3be6ef3e
Added by Niels Hoffmann over 13 years ago
taxeditor-editor/src/main/java/eu/etaxonomy/taxeditor/section/name/NameTypeDesignationElement.java | ||
---|---|---|
24 | 24 |
import eu.etaxonomy.taxeditor.forms.term.NameTypeDesignationStatusComboElement; |
25 | 25 |
|
26 | 26 |
/** |
27 |
* <p>NameTypeDesignationElement class.</p> |
|
28 |
* |
|
27 | 29 |
* @author n.hoffmann |
28 | 30 |
* @created May 17, 2010 |
29 | 31 |
* @version 1.0 |
... | ... | |
38 | 40 |
private NameSelectionElement selection_typeName; |
39 | 41 |
private NameTypeDesignationStatusComboElement combo_typeStatus; |
40 | 42 |
|
43 |
/** |
|
44 |
* <p>Constructor for NameTypeDesignationElement.</p> |
|
45 |
* |
|
46 |
* @param formFactory a {@link eu.etaxonomy.taxeditor.forms.CdmFormFactory} object. |
|
47 |
* @param section a {@link eu.etaxonomy.taxeditor.forms.AbstractFormSection} object. |
|
48 |
* @param entity a {@link eu.etaxonomy.cdm.model.name.NameTypeDesignation} object. |
|
49 |
* @param removeListener a {@link org.eclipse.swt.events.SelectionListener} object. |
|
50 |
* @param style a int. |
|
51 |
*/ |
|
41 | 52 |
public NameTypeDesignationElement(CdmFormFactory formFactory, |
42 | 53 |
AbstractFormSection section, NameTypeDesignation entity, |
43 | 54 |
SelectionListener removeListener, int style) { |
44 | 55 |
super(formFactory, section, entity, removeListener, style); |
45 | 56 |
} |
46 | 57 |
|
58 |
/** {@inheritDoc} */ |
|
47 | 59 |
@Override |
48 | 60 |
public void createControls(ICdmFormElement formElement, int style) { |
49 | 61 |
|
... | ... | |
55 | 67 |
super.createControls(formElement, style); |
56 | 68 |
} |
57 | 69 |
|
70 |
/** {@inheritDoc} */ |
|
58 | 71 |
@Override |
59 | 72 |
public void setEntity(NameTypeDesignation entity) { |
60 | 73 |
super.setEntity(entity); |
... | ... | |
68 | 81 |
checkbox_notDesignated.setSelection(entity.isNotDesignated()); |
69 | 82 |
} |
70 | 83 |
|
84 |
/** {@inheritDoc} */ |
|
71 | 85 |
@Override |
72 | 86 |
public void handleEvent(Object eventSource) { |
73 | 87 |
if(eventSource == checkbox_conservedType){ |
Also available in: Unified diff
performed javacscript:fix and worked on documentation