package org.eclipse.linuxtools.lttng.tests;
import org.eclipse.core.runtime.Plugin;
+import org.eclipse.linuxtools.tmf.Tracer;
+import org.osgi.framework.BundleContext;
/**
* <b><u>TmfCoreTestPlugin</u></b>
* <p>
* The activator class controls the plug-in life cycle
*/
+@SuppressWarnings("nls")
public class LTTngCoreTestPlugin extends Plugin {
// ========================================================================
public static LTTngCoreTestPlugin getPlugin() {
return plugin;
}
+
+ @Override
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ plugin = this;
+ }
+
+ @Override
+ public void stop(BundleContext context) throws Exception {
+ plugin = null;
+ super.stop(context);
+ }
}