1 package net.sourceforge.phpdt.internal.launching;
3 import net.sourceforge.phpeclipse.PHPeclipsePlugin;
5 import org.eclipse.core.resources.IWorkspace;
6 import org.eclipse.core.runtime.IStatus;
7 import org.eclipse.core.runtime.Status;
8 import org.eclipse.ui.plugin.AbstractUIPlugin;
9 import org.osgi.framework.BundleContext;
11 public class PHPLaunchingPlugin extends AbstractUIPlugin {
12 public static final String PLUGIN_ID = "net.sourceforge.phpeclipse.launching"; //$NON-NLS-1$
14 protected static PHPLaunchingPlugin plugin;
16 public PHPLaunchingPlugin() {
21 public static PHPLaunchingPlugin getDefault() {
25 public static IWorkspace getWorkspace() {
26 return PHPeclipsePlugin.getWorkspace();
29 public static void log(IStatus status) {
30 getDefault().getLog().log(status);
33 public static void log(Throwable e) {
39 .getString("PHPLaunchingPlugin.internalErrorOccurred"), e)); //$NON-NLS-1$
43 * This method is called upon plug-in activation
45 public void start(BundleContext context) throws Exception {
50 * This method is called when the plug-in is stopped
52 public void stop(BundleContext context) throws Exception {