ref #10138: after parsing send event to update the details view
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / ui / section / feature / CharacterDetailElement.java
index 7bc31e063399c8bbf69bfe96d0696586f34039f1..c54578e78058dffc785179e218bffe30eb4ff365 100644 (file)
@@ -294,4 +294,26 @@ public class CharacterDetailElement extends AbstractCdmDetailElement<Character>
            }
        }
 
+       @Override
+       public void fillFields() {
+               if (getEntity()!= null) {
+                       element_Representation.setTerm(getEntity(), isEnabled());
+                       comboStructuralModifier.setSelection(getEntity().getStructureModifier());
+                       supportsQuantitativeData.setSelection(getEntity().isSupportsQuantitativeData());
+                       supportsCategoricalData.setSelection(getEntity().isSupportsCategoricalData());;
+                       availableForTaxon.setSelection(getEntity().isAvailableForTaxon());
+                       availableForTaxonName.setSelection(getEntity().isAvailableForTaxonName());
+                       availableForSpecimenOrObservation.setSelection(getEntity().isAvailableForOccurrence());
+                       sectionStateVocabularies.setEntity(getEntity());
+                       sectionMeasurementUnits.setEntity(getEntity());
+                       sectionStatisticalMeasures.setEntity(getEntity());
+                       sectionModifierVocabularies.setEntity(getEntity());
+                       
+                       text_structure.setText(CharacterNodeDetailElement.getStructureText(getEntity()));
+                       text_property.setText(CharacterNodeDtoDetailElement.getPropertyText(getEntity()));
+                       ratioTo.setText(CharacterNodeDetailElement.getRatioToText(getEntity()));
+               }
+               
+       }
+
 }