Revision 9ef8582f
Added by Patrick Plitzner over 5 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/DerivedUnitGeneralDetailElement.java | ||
---|---|---|
123 | 123 |
|
124 | 124 |
} |
125 | 125 |
|
126 |
@Override |
|
127 |
protected void update(DerivedUnitFacade entity) { |
|
128 |
super.update(entity); |
|
129 |
toggleableText_titleCache.setText(entity.getTitleCache()); |
|
130 |
if(!showOnlyDerivedUnitData){ |
|
131 |
combo_specorobstype.setSelection(entity.getType()); |
|
132 |
selection_country.setEntity(entity.getCountry()); |
|
133 |
if(PreferencesUtil.isCollectingAreaInGeneralSection()){ |
|
134 |
section_collectingAreas.setEntity(entity); |
|
135 |
} |
|
136 |
languageText_locality.setText(entity.getLocalityText()); |
|
137 |
element_point.setEntity(entity.getExactLocation()); |
|
138 |
// element_elevation.set(entity);//FIXME needs setter for updating entity value |
|
139 |
|
|
140 |
element_date.setTimePeriod(entity.getGatheringPeriod()); |
|
141 |
selection_collector.setEntity(entity.getCollector()); |
|
142 |
text_collectingNumber.setText(entity.getFieldNumber()); |
|
143 |
} |
|
144 |
selection_collection.setEntity(entity.getCollection()); |
|
145 |
text_accessionNumber.setText(entity.getAccessionNumber()); |
|
146 |
uriPreferredStableUri.setParsedText(entity.getPreferredStableUri()); |
|
147 |
checkIsPublish.setSelected(entity.isPublish()); |
|
148 |
} |
|
149 |
|
|
126 | 150 |
@Override |
127 | 151 |
public void handleEvent(Object eventSource) { |
128 | 152 |
if (eventSource == toggleableText_titleCache) { |
Also available in: Unified diff
ref #6554 Cache form section for taxon and derived unit details view