code cleaning
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / ui / element / UriWithLabelElement.java
index 99c7608e0b67ad8a1c8fe67cfb45ba1ea6bf9787..342b2ed5a479e1038c583bb8231e97fffd145f8d 100644 (file)
@@ -38,6 +38,7 @@ public class UriWithLabelElement extends AbstractUriWithExceptionLabelElement<UR
     protected UriWithLabelElement(CdmFormFactory formFactory, ICdmFormElement parentElement, String labelString,
             URI initialObject, Integer textHeight, int style) {
         super(formFactory, parentElement, labelString, initialObject, textHeight, style);
+        exceptionString = Messages.UriWithLabelElement_URL_NOT_SAVED;
        }
 
     @Override
@@ -54,7 +55,7 @@ public class UriWithLabelElement extends AbstractUriWithExceptionLabelElement<UR
 
         //uri text
         initText(formFactory, null, textHeight, null, false, style, textAndButton);
-
+        setParsedText(initialObject);
         //button
         btnOpenBrowser = formFactory.createButton(textAndButton, "", SWT.NONE); //$NON-NLS-1$
         btnOpenBrowser.setImage(ImageResources.getImage(ImageResources.WEB));