1 package org.simantics.views.swt;
3 import org.osgi.framework.BundleActivator;
4 import org.osgi.framework.BundleContext;
6 public class Activator implements BundleActivator {
8 public static final String PLUGIN_ID = "org.simantics.views.swt";
10 private static BundleContext context;
12 static BundleContext getContext() {
18 * @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext)
20 public void start(BundleContext bundleContext) throws Exception {
21 Activator.context = bundleContext;
26 * @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext)
28 public void stop(BundleContext bundleContext) throws Exception {
29 Activator.context = null;