Refactory: remove unused classes, imports, fields and methods.
[phpeclipse.git] / net.sourceforge.phpeclipse.debug.ui / src / net / sourceforge / phpdt / internal / debug / ui / PHPDebugUiPlugin.java
index f914e46..8bdb623 100644 (file)
@@ -5,7 +5,7 @@ import net.sourceforge.phpeclipse.PHPeclipsePlugin;
 import org.eclipse.core.resources.IWorkspace;
 import org.eclipse.core.runtime.IStatus;
 import org.eclipse.core.runtime.Status;
-import org.eclipse.jface.dialogs.ErrorDialog;
+//import org.eclipse.jface.dialogs.ErrorDialog;
 import org.eclipse.swt.widgets.Display;
 import org.eclipse.swt.widgets.Shell;
 import org.eclipse.ui.IWorkbenchPage;
@@ -79,23 +79,23 @@ public class PHPDebugUiPlugin extends AbstractUIPlugin {
                return null;
        }
 
-       public static void errorDialog(String message, IStatus status) {
-               log(status);
-               Shell shell = getActiveWorkbenchShell();
-               if (shell != null) {
-                       ErrorDialog.openError(shell, "Error", message, status);
-               }
-       }
-
-       public static void errorDialog(String message, Throwable t) {
-               log(t);
-               Shell shell = getActiveWorkbenchShell();
-               if (shell != null) {
-                       IStatus status = new Status(IStatus.ERROR, PLUGIN_ID, /* ICDebugUIConstants.INTERNAL_ERROR */
-                                       150, t.getMessage(), null); //$NON-NLS-1$       
-                       ErrorDialog.openError(shell, "Error", message, status);
-               }
-       }
+//     public static void errorDialog(String message, IStatus status) {
+//             log(status);
+//             Shell shell = getActiveWorkbenchShell();
+//             if (shell != null) {
+//                     ErrorDialog.openError(shell, "Error", message, status);
+//             }
+//     }
+
+//     public static void errorDialog(String message, Throwable t) {
+//             log(t);
+//             Shell shell = getActiveWorkbenchShell();
+//             if (shell != null) {
+//                     IStatus status = new Status(IStatus.ERROR, PLUGIN_ID, /* ICDebugUIConstants.INTERNAL_ERROR */
+//                                     150, t.getMessage(), null); //$NON-NLS-1$       
+//                     ErrorDialog.openError(shell, "Error", message, status);
+//             }
+//     }
 
        public static void log(IStatus status) {
                getDefault().getLog().log(status);