Moved all logging and dialog functionality to the new class MessagingUtils.
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / handler / OpenPasswordWizzardHandler.java
index 05273d42d92cf3b0626b33993ca0ee522c0451d7..965b07dd72476de835b3a9f0c1d24bf8e599323a 100644 (file)
@@ -18,6 +18,7 @@ import org.eclipse.jface.wizard.WizardDialog;
 
 import eu.etaxonomy.cdm.model.common.User;
 import eu.etaxonomy.taxeditor.model.AbstractUtility;
+import eu.etaxonomy.taxeditor.model.MessagingUtils;
 import eu.etaxonomy.taxeditor.store.CdmStore;
 import eu.etaxonomy.taxeditor.ui.password.PasswordWizard;
 
@@ -48,7 +49,7 @@ public class OpenPasswordWizzardHandler extends AbstractHandler implements IHand
 
            } else {
                // should never happen, log an error
-               AbstractUtility.error(OpenPasswordWizzardHandler.class, "The principal currently authenticated is not a eu.etaxonomy.cdm.model.common.User", null);
+               MessagingUtils.error(OpenPasswordWizzardHandler.class, "The principal currently authenticated is not a eu.etaxonomy.cdm.model.common.User", null);
            }
 
                return null;