import net.sourceforge.phpdt.externaltools.internal.registry.RefreshScopeVariableRegistry;
import net.sourceforge.phpdt.externaltools.model.IExternalToolConstants;
-import org.eclipse.core.runtime.CoreException;
+//import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Path;
import org.eclipse.core.runtime.Platform;
import org.eclipse.jface.resource.ImageRegistry;
import org.eclipse.swt.graphics.RGB;
import org.eclipse.swt.widgets.Display;
-import org.eclipse.ui.IWorkbenchWindow;
+//import org.eclipse.ui.IWorkbenchWindow;
import org.eclipse.ui.plugin.AbstractUIPlugin;
import org.osgi.framework.Bundle;
import org.osgi.framework.BundleContext;
/**
* Returns a new <code>CoreException</code> for this plug-in
*/
- public static CoreException newError(String message, Throwable exception) {
- return new CoreException(new Status(Status.ERROR,
- IExternalToolConstants.PLUGIN_ID, 0, message, exception));
- }
+// public static CoreException newError(String message, Throwable exception) {
+// return new CoreException(new Status(Status.ERROR,
+// IExternalToolConstants.PLUGIN_ID, 0, message, exception));
+// }
/**
* Returns the registry of refresh scope variables.
IPreferenceConstants.CONSOLE_DEBUG_RGB, new RGB(0, 0, 0)); // black
}
- public static IWorkbenchWindow getActiveWorkbenchWindow() {
- return ExternalToolsPlugin.getDefault().getWorkbench()
- .getActiveWorkbenchWindow();
- }
+// public static IWorkbenchWindow getActiveWorkbenchWindow() {
+// return ExternalToolsPlugin.getDefault().getWorkbench()
+// .getActiveWorkbenchWindow();
+// }
/**
* Returns the standard display to be used. The method first checks, if the