X-Git-Url: http://secure.phpeclipse.com diff --git a/net.sourceforge.phpeclipse.externaltools/src/net/sourceforge/phpeclipse/externaltools/ExternalToolsPlugin.java b/net.sourceforge.phpeclipse.externaltools/src/net/sourceforge/phpeclipse/externaltools/ExternalToolsPlugin.java index c392571..b805a73 100644 --- a/net.sourceforge.phpeclipse.externaltools/src/net/sourceforge/phpeclipse/externaltools/ExternalToolsPlugin.java +++ b/net.sourceforge.phpeclipse.externaltools/src/net/sourceforge/phpeclipse/externaltools/ExternalToolsPlugin.java @@ -39,6 +39,7 @@ import org.eclipse.swt.widgets.Display; import org.eclipse.ui.IWorkbenchWindow; import org.eclipse.ui.plugin.AbstractUIPlugin; import org.osgi.framework.Bundle; +import org.osgi.framework.BundleContext; /** * External tools plug-in class @@ -270,10 +271,11 @@ public final class ExternalToolsPlugin extends AbstractUIPlugin { } /** - * @see org.eclipse.core.runtime.Plugin#startup() + * @throws Exception + * @see org.eclipse.core.runtime.Plugin#start(BundleContext context) */ - public void startup() throws CoreException { - // super.startup(); + public void start(BundleContext context) throws Exception { + super.start(context); getStandardDisplay().asyncExec(new Runnable() { public void run() { //initialize the variable context manager @@ -283,11 +285,12 @@ public final class ExternalToolsPlugin extends AbstractUIPlugin { } /** - * @see org.eclipse.core.runtime.Plugin#shutdown() + * @throws Exception + * @see org.eclipse.core.runtime.Plugin#stop(BundleContext context) */ - public void shutdown() throws CoreException { - // super.shutdown(); + public void stop(BundleContext context) throws Exception { ColorManager.getDefault().dispose(); + super.stop(context); } /**