Revision 3be6ef3e
Added by Niels Hoffmann over 13 years ago
taxeditor-editor/src/main/java/eu/etaxonomy/taxeditor/section/occurrence/SpecimenCollectionDetailElement.java | ||
---|---|---|
21 | 21 |
import eu.etaxonomy.taxeditor.section.AbstractEntityCollectionElement; |
22 | 22 |
|
23 | 23 |
/** |
24 |
* <p>SpecimenCollectionDetailElement class.</p> |
|
25 |
* |
|
24 | 26 |
* @author n.hoffmann |
25 | 27 |
* @created Oct 14, 2010 |
26 | 28 |
* @version 1.0 |
... | ... | |
31 | 33 |
private DerivedUnitBaseSelectionElement selection_derivedUnit; |
32 | 34 |
|
33 | 35 |
/** |
34 |
* @param formFactory |
|
35 |
* @param section |
|
36 |
* @param entity |
|
37 |
* @param removeListener |
|
38 |
* @param backgroundColor |
|
39 |
* @param style |
|
36 |
* <p>Constructor for SpecimenCollectionDetailElement.</p> |
|
37 |
* |
|
38 |
* @param formFactory a {@link eu.etaxonomy.taxeditor.forms.CdmFormFactory} object. |
|
39 |
* @param section a {@link eu.etaxonomy.taxeditor.forms.AbstractFormSection} object. |
|
40 |
* @param entity a {@link eu.etaxonomy.cdm.model.occurrence.Specimen} object. |
|
41 |
* @param removeListener a {@link org.eclipse.swt.events.SelectionListener} object. |
|
42 |
* @param style a int. |
|
40 | 43 |
*/ |
41 | 44 |
public SpecimenCollectionDetailElement(CdmFormFactory formFactory, |
42 | 45 |
AbstractFormSection section, Specimen entity, |
... | ... | |
47 | 50 |
/* (non-Javadoc) |
48 | 51 |
* @see eu.etaxonomy.taxeditor.section.AbstractEntityCollectionElement#setEntity(java.lang.Object) |
49 | 52 |
*/ |
53 |
/** {@inheritDoc} */ |
|
50 | 54 |
@Override |
51 | 55 |
public void setEntity(Specimen entity) { |
52 | 56 |
this.entity = entity; |
... | ... | |
56 | 60 |
/* (non-Javadoc) |
57 | 61 |
* @see eu.etaxonomy.taxeditor.section.AbstractEntityCollectionElement#createControls(eu.etaxonomy.taxeditor.forms.ICdmFormElement, int) |
58 | 62 |
*/ |
63 |
/** {@inheritDoc} */ |
|
59 | 64 |
@Override |
60 | 65 |
public void createControls(ICdmFormElement element, int style) { |
61 | 66 |
selection_derivedUnit = (DerivedUnitBaseSelectionElement) formFactory.createSelectionElement(SelectionType.DERIVED_UNIT, getConversationHolder(), element, "Derived Unit", null, style); |
... | ... | |
64 | 69 |
/* (non-Javadoc) |
65 | 70 |
* @see eu.etaxonomy.taxeditor.section.AbstractEntityCollectionElement#handleEvent(java.lang.Object) |
66 | 71 |
*/ |
72 |
/** {@inheritDoc} */ |
|
67 | 73 |
@Override |
68 | 74 |
public void handleEvent(Object eventSource) { |
69 | 75 |
if(eventSource == selection_derivedUnit){ |
Also available in: Unified diff
performed javacscript:fix and worked on documentation