Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2007-03-14 19:10:34 -0400
committerslewis2007-03-14 19:10:34 -0400
commit3ff427ee9926d7c713edcde74a820437260b9190 (patch)
tree804e5507117f56697bfaad6bc5ce9d956e421d9f /tests/bundles/org.eclipse.ecf.tests.sharedobject
parent0337dd8aae36f4862b279f29a29e7348b5df61d4 (diff)
downloadorg.eclipse.ecf-3ff427ee9926d7c713edcde74a820437260b9190.tar.gz
org.eclipse.ecf-3ff427ee9926d7c713edcde74a820437260b9190.tar.xz
org.eclipse.ecf-3ff427ee9926d7c713edcde74a820437260b9190.zip
Changes to remove references to Plugin class.
Diffstat (limited to 'tests/bundles/org.eclipse.ecf.tests.sharedobject')
-rwxr-xr-xtests/bundles/org.eclipse.ecf.tests.sharedobject/META-INF/MANIFEST.MF3
-rwxr-xr-xtests/bundles/org.eclipse.ecf.tests.sharedobject/src/org/eclipse/ecf/tests/sharedobject/Activator.java6
2 files changed, 4 insertions, 5 deletions
diff --git a/tests/bundles/org.eclipse.ecf.tests.sharedobject/META-INF/MANIFEST.MF b/tests/bundles/org.eclipse.ecf.tests.sharedobject/META-INF/MANIFEST.MF
index d4b49f717..20528da86 100755
--- a/tests/bundles/org.eclipse.ecf.tests.sharedobject/META-INF/MANIFEST.MF
+++ b/tests/bundles/org.eclipse.ecf.tests.sharedobject/META-INF/MANIFEST.MF
@@ -5,8 +5,9 @@ Bundle-SymbolicName: org.eclipse.ecf.tests.sharedobject
Bundle-Version: 1.0.0.20070212
Bundle-Activator: org.eclipse.ecf.tests.sharedobject.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.sharedobject
Eclipse-LazyStart: true
+Import-Package: org.osgi.framework;version="1.4.0"
diff --git a/tests/bundles/org.eclipse.ecf.tests.sharedobject/src/org/eclipse/ecf/tests/sharedobject/Activator.java b/tests/bundles/org.eclipse.ecf.tests.sharedobject/src/org/eclipse/ecf/tests/sharedobject/Activator.java
index 9e65da1ab..5ae3de5fc 100755
--- a/tests/bundles/org.eclipse.ecf.tests.sharedobject/src/org/eclipse/ecf/tests/sharedobject/Activator.java
+++ b/tests/bundles/org.eclipse.ecf.tests.sharedobject/src/org/eclipse/ecf/tests/sharedobject/Activator.java
@@ -1,12 +1,12 @@
package org.eclipse.ecf.tests.sharedobject;
-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.sharedobject";
@@ -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