Moved all logging and dialog functionality to the new class MessagingUtils.
[taxeditor.git] / eu.etaxonomy.taxeditor.printpublisher / src / main / java / eu / etaxonomy / taxeditor / printpublisher / wizard / SelectStylesheetWizardPage.java
index 0f0113e6c4b10b1438fc311f23f905bb447a7a68..3267eb0228b9bf9275a45569fd5714f2aeba65d9 100644 (file)
@@ -20,7 +20,7 @@ import org.eclipse.swt.layout.GridData;
 import org.eclipse.swt.layout.GridLayout;
 import org.eclipse.swt.widgets.Composite;
 
-import eu.etaxonomy.taxeditor.printpublisher.PrintUtil;
+import eu.etaxonomy.taxeditor.model.MessagingUtils;
 
 /**
  * @author n.hoffmann
@@ -82,7 +82,7 @@ public class SelectStylesheetWizardPage extends AbstractPublishWizardPage
                        stylesheets = getOutputModule().getStylesheets();
                        viewer.setInput(stylesheets);
                } catch (IOException e) {
-                       PrintUtil.errorDialog("Problems reading stylesheet", getClass(), e.getMessage(), e);
+                       MessagingUtils.messageDialog("Problems reading stylesheet", getClass(), e.getMessage(), e);
                }               
        }