Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrbrooks2010-10-08 15:01:44 -0400
committerRyan D. Brooks2010-10-08 15:01:44 -0400
commit524c8a1dc6eb3b26a509f8c6591f26ba8dddac5b (patch)
treea842b57048a7f85c7dfb5a1bbca9a0cac1e5f518 /plugins/org.eclipse.osee.ote.ui.host.cmd
parent9a31c0d441b383ffa3ceec14f3005c583fef2168 (diff)
downloadorg.eclipse.osee-524c8a1dc6eb3b26a509f8c6591f26ba8dddac5b.tar.gz
org.eclipse.osee-524c8a1dc6eb3b26a509f8c6591f26ba8dddac5b.tar.xz
org.eclipse.osee-524c8a1dc6eb3b26a509f8c6591f26ba8dddac5b.zip
refactor: Remove unnecessary dependencies on OseeUiActivator
Diffstat (limited to 'plugins/org.eclipse.osee.ote.ui.host.cmd')
-rw-r--r--plugins/org.eclipse.osee.ote.ui.host.cmd/src/org/eclipse/osee/ote/ui/host/cmd/UiPlugin.java20
1 files changed, 13 insertions, 7 deletions
diff --git a/plugins/org.eclipse.osee.ote.ui.host.cmd/src/org/eclipse/osee/ote/ui/host/cmd/UiPlugin.java b/plugins/org.eclipse.osee.ote.ui.host.cmd/src/org/eclipse/osee/ote/ui/host/cmd/UiPlugin.java
index e68c04bc5f..0b1d4d2109 100644
--- a/plugins/org.eclipse.osee.ote.ui.host.cmd/src/org/eclipse/osee/ote/ui/host/cmd/UiPlugin.java
+++ b/plugins/org.eclipse.osee.ote.ui.host.cmd/src/org/eclipse/osee/ote/ui/host/cmd/UiPlugin.java
@@ -10,21 +10,27 @@
*******************************************************************************/
package org.eclipse.osee.ote.ui.host.cmd;
-import org.eclipse.osee.framework.ui.plugin.OseeUiActivator;
+import org.osgi.framework.BundleActivator;
+import org.osgi.framework.BundleContext;
/**
* The main plugin class to be used in the desktop.
*/
-public class UiPlugin extends OseeUiActivator {
+public class UiPlugin implements BundleActivator {
public static final String PLUGIN_ID = "org.eclipse.osee.ote.ui.host.cmd";
private static UiPlugin plugin;
- public UiPlugin() {
- super(PLUGIN_ID);
+ public static UiPlugin getInstance() {
+ return plugin;
+ }
+
+ @Override
+ public void start(BundleContext context) {
plugin = this;
}
- public static UiPlugin getInstance() {
- return plugin;
+ @Override
+ public void stop(BundleContext context) {
+ // method overridden only to satisfy its defining interface
}
-}
+} \ No newline at end of file

Back to the top