Made all bundles require a Java 1.4 EE, and backported some classescode to Java 1.4
[phpeclipse.git] / net.sourceforge.phpeclipse.launching / src / net / sourceforge / phpdt / internal / launching / PHPLaunchingPlugin.java
index 7d55467..7014cc1 100644 (file)
@@ -3,7 +3,6 @@ package net.sourceforge.phpdt.internal.launching;
 import net.sourceforge.phpeclipse.PHPeclipsePlugin;
 
 import org.eclipse.core.resources.IWorkspace;
-import org.eclipse.core.runtime.IPluginDescriptor;
 import org.eclipse.core.runtime.IStatus;
 import org.eclipse.core.runtime.Status;
 import org.eclipse.ui.plugin.AbstractUIPlugin;
@@ -14,8 +13,8 @@ public class PHPLaunchingPlugin extends AbstractUIPlugin {
 
        protected static PHPLaunchingPlugin plugin;
 
-       public PHPLaunchingPlugin(IPluginDescriptor descriptor) {
-               super(descriptor);
+       public PHPLaunchingPlugin() {
+               super();
                plugin = this;
        }
 
@@ -32,8 +31,14 @@ public class PHPLaunchingPlugin extends AbstractUIPlugin {
        }
 
        public static void log(Throwable e) {
-               log(new Status(IStatus.ERROR, PLUGIN_ID, IStatus.ERROR, PHPLaunchingMessages.getString("PHPLaunchingPlugin.internalErrorOccurred"), e)); //$NON-NLS-1$
+               log(new Status(
+                               IStatus.ERROR,
+                               PLUGIN_ID,
+                               IStatus.ERROR,
+                               PHPLaunchingMessages
+                                               .getString("PHPLaunchingPlugin.internalErrorOccurred"), e)); //$NON-NLS-1$
        }
+
        /**
         * This method is called upon plug-in activation
         */