Moved all logging and dialog functionality to the new class MessagingUtils.
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / ui / section / name / ProtologueElement.java
index ed29e2f45be45f923899faf0cf622916dcf1b44d..a11e8e43bb55e870e4f6de962e502564edeabd07 100644 (file)
@@ -22,7 +22,7 @@ import eu.etaxonomy.cdm.model.media.MediaRepresentation;
 import eu.etaxonomy.cdm.model.media.MediaRepresentationPart;
 import eu.etaxonomy.cdm.model.name.TaxonNameBase;
 import eu.etaxonomy.cdm.model.reference.Reference;
-import eu.etaxonomy.taxeditor.store.StoreUtil;
+import eu.etaxonomy.taxeditor.model.MessagingUtils;
 import eu.etaxonomy.taxeditor.ui.element.AbstractFormSection;
 import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
 import eu.etaxonomy.taxeditor.ui.element.CdmPropertyChangeEvent;
@@ -127,7 +127,7 @@ public class ProtologueElement extends AbstractEntityCollectionElement<Descripti
                        try {
                                mediaRepresentationPart.setUri(new URI(protologueUriText.getText()));
                        } catch (URISyntaxException e) {
-                               StoreUtil.warningDialog("Could not parse URI", getClass(), e.getMessage());
+                               MessagingUtils.warningDialog("Could not parse URI", getClass(), e.getMessage());
                        }
                }       
        }