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;
/**
* <p>
client.setLayout(layout);
this.setClient(client);
+
}
/**
((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");
}
}
*
* @return a {@link eu.etaxonomy.taxeditor.ui.element.CdmFormFactory} object.
*/
- public CdmFormFactory getFormFactory() {
+ @Override
+ public CdmFormFactory getFormFactory() {
return formFactory;
}
}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;
}
/** {@inheritDoc} */
+
@Override
public void update(CdmDataChangeMap changeEvents) {
+
}