X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse.debug.ui/src/net/sourceforge/phpdt/internal/debug/ui/PHPDebugUiPlugin.java b/net.sourceforge.phpeclipse.debug.ui/src/net/sourceforge/phpdt/internal/debug/ui/PHPDebugUiPlugin.java index f914e46..8bdb623 100644 --- a/net.sourceforge.phpeclipse.debug.ui/src/net/sourceforge/phpdt/internal/debug/ui/PHPDebugUiPlugin.java +++ b/net.sourceforge.phpeclipse.debug.ui/src/net/sourceforge/phpdt/internal/debug/ui/PHPDebugUiPlugin.java @@ -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);