X-Git-Url: https://dev.e-taxonomy.eu/gitweb/taxeditor.git/blobdiff_plain/db88d819b1adcef274966fb5ee6230899e786d36..1bf80c0c5daafa3cf40d34be966146731c669fb9:/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/AbstractFormSection.java diff --git a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/AbstractFormSection.java b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/AbstractFormSection.java index fd2b43189..6afa2b7bf 100644 --- a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/AbstractFormSection.java +++ b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/AbstractFormSection.java @@ -34,6 +34,7 @@ import eu.etaxonomy.cdm.api.conversation.ConversationHolder; import eu.etaxonomy.cdm.api.conversation.IConversationEnabled; import eu.etaxonomy.cdm.persistence.hibernate.CdmDataChangeMap; import eu.etaxonomy.taxeditor.model.AbstractUtility; +import eu.etaxonomy.taxeditor.model.MessagingUtils; /** *

@@ -216,7 +217,7 @@ public abstract class AbstractFormSection extends Section implements ISe ((IPropertyChangeListener) listener).propertyChange(event); } } catch (ConcurrentModificationException e) { - AbstractUtility.warn(getClass(), "ConcurrentModificationException while handling PropertyChangeEvents." + MessagingUtils.warn(getClass(), "ConcurrentModificationException while handling PropertyChangeEvents." + " It seems like this is not critical"); } } @@ -573,7 +574,7 @@ public abstract class AbstractFormSection extends Section implements ISe }else if(getParentElement() instanceof IConversationEnabled){ return ((IConversationEnabled) getParentElement()).getConversationHolder(); } - AbstractUtility.errorDialog("Could not get conversation for AbstractFormSection", + MessagingUtils.messageDialog("Could not get conversation for AbstractFormSection", getClass(), "There is an error in the implementation. There should have been an active editor but it wasn't", new IllegalArgumentException()); return null;