X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/corext/util/PHPUIStatus.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/corext/util/PHPUIStatus.java index c4691d6..9d7d9f8 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/corext/util/PHPUIStatus.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/corext/util/PHPUIStatus.java @@ -5,7 +5,6 @@ package net.sourceforge.phpdt.internal.corext.util; import net.sourceforge.phpeclipse.PHPeclipsePlugin; -//import net.sourceforge.phpeclipse.ui.WebUI; import org.eclipse.core.runtime.IStatus; import org.eclipse.core.runtime.Status; @@ -16,9 +15,9 @@ import org.eclipse.core.runtime.Status; */ public class PHPUIStatus extends Status { - public PHPUIStatus(int code) { - this(code, ""); //$NON-NLS-1$ - } +// public PHPUIStatus(int code) { +// this(code, ""); //$NON-NLS-1$ +// } private PHPUIStatus(int severity, int code, String message, Throwable throwable) { @@ -26,14 +25,14 @@ public class PHPUIStatus extends Status { throwable); } - public PHPUIStatus(int code, String message) { - this(code, message, null); - } +// public PHPUIStatus(int code, String message) { +// this(code, message, null); +// } - public PHPUIStatus(int code, String message, Throwable throwable) { - super(IStatus.ERROR, PHPeclipsePlugin.getPluginId(), code, message, - throwable); - } +// public PHPUIStatus(int code, String message, Throwable throwable) { +// super(IStatus.ERROR, PHPeclipsePlugin.getPluginId(), code, message, +// throwable); +// } public static IStatus createError(int code, Throwable throwable) { String message = throwable.getMessage(); @@ -43,18 +42,18 @@ public class PHPUIStatus extends Status { return new PHPUIStatus(IStatus.ERROR, code, message, throwable); } - public static IStatus createError(int code, String message, - Throwable throwable) { - return new PHPUIStatus(IStatus.ERROR, code, message, throwable); - } +// public static IStatus createError(int code, String message, +// Throwable throwable) { +// return new PHPUIStatus(IStatus.ERROR, code, message, throwable); +// } - public static IStatus createInfo(int code, String message, - Throwable throwable) { - return new PHPUIStatus(IStatus.INFO, code, message, throwable); - } +// public static IStatus createInfo(int code, String message, +// Throwable throwable) { +// return new PHPUIStatus(IStatus.INFO, code, message, throwable); +// } - public static IStatus createWarning(int code, String message, - Throwable throwable) { - return new PHPUIStatus(IStatus.WARNING, code, message, throwable); - } +// public static IStatus createWarning(int code, String message, +// Throwable throwable) { +// return new PHPUIStatus(IStatus.WARNING, code, message, throwable); +// } }