Rename xxx.lttng to xxx.lttng.core
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng.tests / src / org / eclipse / linuxtools / lttng / tests / LTTngCoreTestPlugin.java
index c7764fbd688f01ab41c3860c17a992dfcc7361f4..9bdeaaf77bc5fa2eae95f5f63ccfa4eb089e5509 100644 (file)
 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 {
 
     // ========================================================================
@@ -52,4 +55,16 @@ 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);
+    }
 }
This page took 0.023797 seconds and 5 git commands to generate.