*/\r
package eu.etaxonomy.taxeditor.ui.section.vocabulary;\r
\r
-import eu.etaxonomy.cdm.model.common.Language;\r
import eu.etaxonomy.cdm.model.common.TermType;\r
import eu.etaxonomy.cdm.model.location.NamedArea;\r
import eu.etaxonomy.cdm.model.location.NamedAreaLevel;\r
\r
if (eventSource == textIdInVocabulary){\r
getEntity().setIdInVocabulary(textIdInVocabulary.getText());\r
- } else if (eventSource == text_label) {\r
- getEntity().setLabel(text_label.getText());\r
+ } else if (eventSource == element_Representation) {\r
+ getEntity().setLabel(element_Representation.getSelectedRepresentation().getLabel(), element_Representation.getSelectedRepresentation().getLanguage());\r
+ getEntity().getRepresentation(element_Representation.getSelectedRepresentation().getLanguage()).setAbbreviatedLabel(element_Representation.getSelectedRepresentation().getAbbreviatedLabel());\r
+ getEntity().getRepresentation(element_Representation.getSelectedRepresentation().getLanguage()).setText(element_Representation.getSelectedRepresentation().getDescription());\r
getEntity().setTitleCache(null);\r
- } else if (eventSource == text_description) {\r
- getEntity().getRepresentation(Language.getDefaultLanguage()).setText(text_description.getText());\r
} else if (eventSource == uri_uri) {\r
getEntity().setUri(uri_uri.parseText());\r
- } else if (eventSource == text_abbreviatedLabel) {\r
- getEntity().getRepresentation(Language.getDefaultLanguage()).setAbbreviatedLabel(text_abbreviatedLabel.getText());\r
} else if (eventSource == timePeriod_validPeriod) {\r
getEntity().setValidPeriod(timePeriod_validPeriod.getTimePeriod());\r
} else if (eventSource == combo_namedAreaType) {\r