*/\r
package eu.etaxonomy.taxeditor.ui.section.vocabulary;\r
\r
-import java.net.URISyntaxException;\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
getEntity().setLabel(text_label.getText());\r
getEntity().setTitleCache(null);\r
} else if (eventSource == text_description) {\r
-\r
getEntity().getRepresentation(Language.getDefaultLanguage()).setText(text_description.getText());\r
-\r
} else if (eventSource == uri_uri) {\r
-\r
- try {\r
- getEntity().setUri(uri_uri.getUri());\r
- } catch (URISyntaxException e) {\r
-\r
- e.printStackTrace();\r
- }\r
+ getEntity().setUri(uri_uri.getUri());\r
} else if (eventSource == text_abbreviatedLabel) {\r
getEntity().getRepresentation(Language.getDefaultLanguage()).setAbbreviatedLabel(text_abbreviatedLabel.getText());\r
} else if (eventSource == timePeriod_validPeriod) {\r