import eu.etaxonomy.taxeditor.editor.EditorUtil;
import eu.etaxonomy.taxeditor.editor.view.descriptive.operation.CreateDescriptionElementOperation;
import eu.etaxonomy.taxeditor.model.AbstractUtility;
+import eu.etaxonomy.taxeditor.model.MessagingUtils;
import eu.etaxonomy.taxeditor.operation.AbstractPostOperation;
import eu.etaxonomy.taxeditor.operation.IPostOperationEnabled;
operation = operationCreationInstance(event.getCommand().getName(), event, description, postOperationEnabled);
AbstractUtility.executeOperation(operation);
} catch (NotDefinedException e) {
- AbstractUtility.warn(getClass(), "Command name not set");
+ MessagingUtils.warn(getClass(), "Command name not set");
}
} else {
- AbstractUtility.error(getClass(), new IllegalArgumentException("Could not determine the taxon description"));
+ MessagingUtils.error(getClass(), new IllegalArgumentException("Could not determine the taxon description"));
return null;
}
return null;