package org.simantics.district.network.ui.internal; import org.osgi.framework.BundleActivator; import org.osgi.framework.BundleContext; public class Activator implements BundleActivator { public static final String PLUGIN_ID = "org.simantics.district.network.ui"; private static BundleContext context; @Override public void start(BundleContext context) throws Exception { Activator.context = context; } @Override public void stop(BundleContext context) throws Exception { Activator.context = null; } public static BundleContext getContext() { return context; } }