Moved all logging and dialog functionality to the new class MessagingUtils.
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / store / EditorManager.java
index bd2b3a57272f6251f8b39ebad7e4dfa431598294..9a1c11905aaa6d72549e058a9100d8aafbb23a30 100644 (file)
@@ -10,6 +10,7 @@ import java.util.UUID;
 import org.eclipse.ui.IEditorInput;
 
 import eu.etaxonomy.taxeditor.model.ICdmEditorHandle;
+import eu.etaxonomy.taxeditor.model.MessagingUtils;
 
 /**
  * 
@@ -25,7 +26,7 @@ public class EditorManager {
                ICdmEditorHandle editor = editors.get(inputType);
                
                if(editor == null){
-                       StoreUtil.warningDialog("No editor", getClass(), "No editor was registered for the given type.");
+                       MessagingUtils.warningDialog("No editor", getClass(), "No editor was registered for the given type.");
                }else{
                        editor.open(uuid);
                }