1 package org.simantics.workbench.search;
3 import org.osgi.framework.BundleActivator;
4 import org.osgi.framework.BundleContext;
7 * @author Tuukka Lehtonen
9 public class Activator implements BundleActivator {
11 public static final String PLUGIN_ID = "org.simantics.workbench.search";
13 private static BundleContext context;
15 static BundleContext getContext() {
21 * @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext)
23 public void start(BundleContext bundleContext) throws Exception {
24 Activator.context = bundleContext;
29 * @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext)
31 public void stop(BundleContext bundleContext) throws Exception {
32 Activator.context = null;