Fix missing src/ issue.
authorFrancois Chouinard <fchouinard@gmail.com>
Fri, 25 Feb 2011 18:30:46 +0000 (13:30 -0500)
committerFrancois Chouinard <fchouinard@gmail.com>
Fri, 25 Feb 2011 18:30:46 +0000 (13:30 -0500)
Signed-off-by: Francois Chouinard <fchouinard@gmail.com>
org.eclipse.linuxtools.lttng.ui.tests/META-INF/MANIFEST.MF
org.eclipse.linuxtools.lttng.ui.tests/src/org/eclipse/linuxtools/lttng/ui/tests/LTTngUITestPlugin.java [new file with mode: 0644]

index f579d672b7fe7aae851e536675be991f22432697..2f8c8334c3ee7768ac2df9d93e06e50d46c4dcaf 100644 (file)
@@ -8,5 +8,7 @@ Bundle-Vendor: %Bundle-Vendor
 Require-Bundle: org.junit,
  org.eclipse.linuxtools.lttng;bundle-version="0.2.0",
  org.eclipse.linuxtools.lttng.ui;bundle-version="0.2.0",
- org.eclipse.linuxtools.tmf;bundle-version="0.2.0"
+ org.eclipse.linuxtools.tmf;bundle-version="0.2.0",
+ org.eclipse.ui;bundle-version="3.6.1",
+ org.eclipse.core.runtime;bundle-version="3.6.0"
 Bundle-Localization: plugin
diff --git a/org.eclipse.linuxtools.lttng.ui.tests/src/org/eclipse/linuxtools/lttng/ui/tests/LTTngUITestPlugin.java b/org.eclipse.linuxtools.lttng.ui.tests/src/org/eclipse/linuxtools/lttng/ui/tests/LTTngUITestPlugin.java
new file mode 100644 (file)
index 0000000..3b63ed2
--- /dev/null
@@ -0,0 +1,60 @@
+/*******************************************************************************
+ * Copyright (c) 2011 Ericsson
+ * 
+ * All rights reserved. This program and the accompanying materials are
+ * made available under the terms of the Eclipse Public License v1.0 which
+ * accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ * 
+ * Contributors:
+ *   Francois Chouinard - Initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.linuxtools.lttng.ui.tests;
+
+import org.eclipse.ui.plugin.AbstractUIPlugin;
+import org.osgi.framework.BundleContext;
+
+/**
+ * The activator class controls the plug-in life cycle
+ */
+public class LTTngUITestPlugin extends AbstractUIPlugin {
+
+       // The plug-in ID
+       public static final String PLUGIN_ID = "org.eclipse.linuxtools.lttng.ui.tests";
+
+       // The shared instance
+       private static LTTngUITestPlugin plugin;
+       
+       // ------------------------------------------------------------------------
+       // Constructor
+       // ------------------------------------------------------------------------
+
+       public LTTngUITestPlugin() {
+       }
+
+       // ------------------------------------------------------------------------
+       // AbstractUIPlugin
+       // ------------------------------------------------------------------------
+
+       @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);
+       }
+
+       // ------------------------------------------------------------------------
+       // Accessors
+       // ------------------------------------------------------------------------
+
+       public static LTTngUITestPlugin getDefault() {
+               return plugin;
+       }
+
+}
This page took 0.03109 seconds and 5 git commands to generate.