Revision d924f5c6
Added by Patrick Plitzner over 10 years ago
- converted NamedArea element
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/campanula/detailViews/fieldObservation/GatheringEventDetailsElementController.java | ||
---|---|---|
9 | 9 |
*/ |
10 | 10 |
package eu.etaxonomy.taxeditor.ui.campanula.detailViews.fieldObservation; |
11 | 11 |
|
12 |
import org.eclipse.ui.forms.widgets.ExpandableComposite; |
|
13 |
|
|
12 | 14 |
import eu.etaxonomy.cdm.api.facade.DerivedUnitFacade; |
13 | 15 |
import eu.etaxonomy.taxeditor.model.AbstractUtility; |
14 | 16 |
import eu.etaxonomy.taxeditor.preference.Resources; |
... | ... | |
16 | 18 |
import eu.etaxonomy.taxeditor.ui.campanula.basicFields.TextFieldController; |
17 | 19 |
import eu.etaxonomy.taxeditor.ui.campanula.compatibility.ICdmFormElement; |
18 | 20 |
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory; |
21 |
import eu.etaxonomy.taxeditor.ui.element.LayoutConstants; |
|
19 | 22 |
import eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailElement; |
23 |
import eu.etaxonomy.taxeditor.ui.section.occurrence.CollectingAreasDetailSection; |
|
20 | 24 |
|
21 | 25 |
/** |
22 | 26 |
* @author pplitzner |
... | ... | |
41 | 45 |
|
42 | 46 |
private TextFieldController text_gatheringEventDescription; |
43 | 47 |
|
44 |
// private CollectingAreasDetailSection section_collectingAreas;
|
|
48 |
private CollectingAreasDetailSection section_collectingAreas; |
|
45 | 49 |
|
46 | 50 |
/** |
47 | 51 |
* <p> |
... | ... | |
71 | 75 |
number_distanceToGround = new NumberFieldController(gatheringEventDetailsElement.getText_DistanceToGround(), formFactory, this, (Integer)null); |
72 | 76 |
number_distanceToWaterSurface = new NumberFieldController(gatheringEventDetailsElement.getText_DistanceToWaterSurface(), formFactory, this, (Integer)null); |
73 | 77 |
text_gatheringEventDescription = new TextFieldController(gatheringEventDetailsElement.getText_GatheringEventDescription(), formFactory, this, null, null); |
74 |
// section_collectingAreas = formFactory.createCollectingAreasDetailSection(getConversationHolder(), formElement, ExpandableComposite.TWISTIE);
|
|
75 |
// section_collectingAreas.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1));
|
|
76 |
// section_collectingAreas.setEntity(entity);
|
|
78 |
section_collectingAreas = formFactory.createCollectingAreasDetailSection(getConversationHolder(), formElement, ExpandableComposite.TWISTIE); |
|
79 |
section_collectingAreas.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1)); |
|
80 |
section_collectingAreas.setEntity(entity); |
|
77 | 81 |
} |
78 | 82 |
|
79 | 83 |
/** {@inheritDoc} */ |
Also available in: Unified diff