Refactory: remove unused classes, imports, fields and methods.
[phpeclipse.git] / net.sourceforge.phpeclipse.externaltools / src / net / sourceforge / phpeclipse / externaltools / ExternalToolsPlugin.java
index 8283e94..8309b7d 100644 (file)
@@ -23,7 +23,7 @@ import net.sourceforge.phpdt.externaltools.internal.registry.PathLocationVariabl
 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;
@@ -34,7 +34,7 @@ import org.eclipse.jface.resource.ImageDescriptor;
 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;
@@ -97,10 +97,10 @@ public final class ExternalToolsPlugin extends AbstractUIPlugin {
        /**
         * This version is recommended for eclipse3.0 and above
         */
-       public ExternalToolsPlugin() {
-               super();
-               plugin = this;
-       }
+//     public ExternalToolsPlugin() {
+//             super();
+//             plugin = this;
+//     }
 
        /**
         * Returns the default instance of the receiver. This represents the runtime
@@ -121,10 +121,10 @@ public final class ExternalToolsPlugin extends AbstractUIPlugin {
        /**
         * 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.
@@ -272,10 +272,10 @@ public final class ExternalToolsPlugin extends AbstractUIPlugin {
                                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