Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2007-03-14 19:10:23 -0400
committerslewis2007-03-14 19:10:23 -0400
commit5023a3729a3ed7a69e76e38ac0d2a9cf8897f2f7 (patch)
tree38f7c5ab7682d8d1f4d0e608aae5cabb6972bdb0 /tests/bundles/org.eclipse.ecf.tests.presence
parentdd2cc108f42b3f42e5508468b13a30c584e95979 (diff)
downloadorg.eclipse.ecf-5023a3729a3ed7a69e76e38ac0d2a9cf8897f2f7.tar.gz
org.eclipse.ecf-5023a3729a3ed7a69e76e38ac0d2a9cf8897f2f7.tar.xz
org.eclipse.ecf-5023a3729a3ed7a69e76e38ac0d2a9cf8897f2f7.zip
Changes to remove references to Plugin class.
Diffstat (limited to 'tests/bundles/org.eclipse.ecf.tests.presence')
-rwxr-xr-xtests/bundles/org.eclipse.ecf.tests.presence/META-INF/MANIFEST.MF3
-rwxr-xr-xtests/bundles/org.eclipse.ecf.tests.presence/src/org/eclipse/ecf/tests/presence/Activator.java6
2 files changed, 4 insertions, 5 deletions
diff --git a/tests/bundles/org.eclipse.ecf.tests.presence/META-INF/MANIFEST.MF b/tests/bundles/org.eclipse.ecf.tests.presence/META-INF/MANIFEST.MF
index 2f1eb28c4..d5bd02929 100755
--- a/tests/bundles/org.eclipse.ecf.tests.presence/META-INF/MANIFEST.MF
+++ b/tests/bundles/org.eclipse.ecf.tests.presence/META-INF/MANIFEST.MF
@@ -5,9 +5,10 @@ Bundle-SymbolicName: org.eclipse.ecf.tests.presence
Bundle-Version: 1.0.0.20070212
Bundle-Activator: org.eclipse.ecf.tests.presence.Activator
Bundle-Vendor: eclipse.org
-Require-Bundle: org.eclipse.core.runtime,
+Require-Bundle: org.eclipse.equinox.common,
org.junit,
org.eclipse.ecf,
org.eclipse.ecf.presence,
org.eclipse.ecf.tests
Eclipse-LazyStart: true
+Import-Package: org.osgi.framework;version="1.4.0"
diff --git a/tests/bundles/org.eclipse.ecf.tests.presence/src/org/eclipse/ecf/tests/presence/Activator.java b/tests/bundles/org.eclipse.ecf.tests.presence/src/org/eclipse/ecf/tests/presence/Activator.java
index 0d61c6ff3..8f3d520d4 100755
--- a/tests/bundles/org.eclipse.ecf.tests.presence/src/org/eclipse/ecf/tests/presence/Activator.java
+++ b/tests/bundles/org.eclipse.ecf.tests.presence/src/org/eclipse/ecf/tests/presence/Activator.java
@@ -1,12 +1,12 @@
package org.eclipse.ecf.tests.presence;
-import org.eclipse.core.runtime.Plugin;
+import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;
/**
* The activator class controls the plug-in life cycle
*/
-public class Activator extends Plugin {
+public class Activator implements BundleActivator {
// The plug-in ID
public static final String PLUGIN_ID = "org.eclipse.ecf.tests.presence";
@@ -25,7 +25,6 @@ public class Activator extends Plugin {
* @see org.eclipse.core.runtime.Plugins#start(org.osgi.framework.BundleContext)
*/
public void start(BundleContext context) throws Exception {
- super.start(context);
plugin = this;
}
@@ -35,7 +34,6 @@ public class Activator extends Plugin {
*/
public void stop(BundleContext context) throws Exception {
plugin = null;
- super.stop(context);
}
/**

Back to the top