diff options
Diffstat (limited to 'plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/internal/Activator.java')
-rw-r--r-- | plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/internal/Activator.java | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/internal/Activator.java b/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/internal/Activator.java index 197161e4490..fceb8cc910d 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/internal/Activator.java +++ b/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/internal/Activator.java @@ -6,32 +6,32 @@ import org.osgi.framework.BundleContext; import org.osgi.util.tracker.ServiceTracker; public class Activator implements BundleActivator { - public static final String PLUGIN_ID = "org.eclipse.osee.framework.core.dsl.ui.integration"; - private static BundleContext context; - private static Activator instance; - private ServiceTracker cacheServiceTracker; + public static final String PLUGIN_ID = "org.eclipse.osee.framework.core.dsl.ui.integration"; + private static BundleContext context; + private static Activator instance; + private ServiceTracker cacheServiceTracker; - static BundleContext getContext() { - return context; - } + static BundleContext getContext() { + return context; + } - @Override - public void start(BundleContext bundleContext) throws Exception { - Activator.instance = this; - Activator.context = bundleContext; - cacheServiceTracker = new ServiceTracker(context, IOseeCachingService.class.getName(), null); - cacheServiceTracker.open(true); - } + @Override + public void start(BundleContext bundleContext) throws Exception { + Activator.instance = this; + Activator.context = bundleContext; + cacheServiceTracker = new ServiceTracker(context, IOseeCachingService.class.getName(), null); + cacheServiceTracker.open(true); + } - @Override - public void stop(BundleContext bundleContext) throws Exception { - Activator.context = null; - if (cacheServiceTracker != null) { - cacheServiceTracker.close(); - } - } + @Override + public void stop(BundleContext bundleContext) throws Exception { + Activator.context = null; + if (cacheServiceTracker != null) { + cacheServiceTracker.close(); + } + } - public static IOseeCachingService getOseeCacheService() { - return (IOseeCachingService) Activator.instance.cacheServiceTracker.getService(); - } + public static IOseeCachingService getOseeCacheService() { + return (IOseeCachingService) Activator.instance.cacheServiceTracker.getService(); + } } |