Moved all logging and dialog functionality to the new class MessagingUtils.
[taxeditor.git] / eu.etaxonomy.taxeditor.bulkeditor / src / main / java / eu / etaxonomy / taxeditor / bulkeditor / command / DynamicMarkerTypeEditingMenu.java
index d244ab961a840973aef747cc764d0413e0585514..8444de4f4468bb26a4206ae4a9979ee77637f769 100644 (file)
@@ -27,7 +27,7 @@ import org.eclipse.ui.actions.CompoundContributionItem;
 import org.eclipse.ui.handlers.IHandlerService;
 
 import eu.etaxonomy.cdm.model.common.MarkerType;
-import eu.etaxonomy.taxeditor.bulkeditor.BulkEditorUtil;
+import eu.etaxonomy.taxeditor.model.MessagingUtils;
 import eu.etaxonomy.taxeditor.store.CdmStore;
 
 /**
@@ -88,13 +88,13 @@ public class DynamicMarkerTypeEditingMenu extends CompoundContributionItem {
                        event.data = new Object[]{markerType, flag};
                        handlerService.executeCommand("taxeditor-bulkeditor.command.setMarkerFlag", event);
                } catch (ExecutionException e) {
-                       BulkEditorUtil.error(getClass(), e);
+                       MessagingUtils.error(getClass(), e);
                } catch (NotDefinedException e) {
-                       BulkEditorUtil.error(getClass(), e);
+                       MessagingUtils.error(getClass(), e);
                } catch (NotEnabledException e) {
-                       BulkEditorUtil.error(getClass(), e);
+                       MessagingUtils.error(getClass(), e);
                } catch (NotHandledException e) {
-                       BulkEditorUtil.error(getClass(), e);
+                       MessagingUtils.error(getClass(), e);
                }
                
        }