X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.workbench.search%2Fsrc%2Forg%2Fsimantics%2Fworkbench%2Fsearch%2FActivator.java;h=010ad767bc7b2e85252d53800e7a64136006c770;hb=HEAD;hp=037bd4d4c65518da6638d9808e1c497469496549;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.workbench.search/src/org/simantics/workbench/search/Activator.java b/bundles/org.simantics.workbench.search/src/org/simantics/workbench/search/Activator.java index 037bd4d4c..010ad767b 100644 --- a/bundles/org.simantics.workbench.search/src/org/simantics/workbench/search/Activator.java +++ b/bundles/org.simantics.workbench.search/src/org/simantics/workbench/search/Activator.java @@ -1,35 +1,35 @@ -package org.simantics.workbench.search; - -import org.osgi.framework.BundleActivator; -import org.osgi.framework.BundleContext; - -/** - * @author Tuukka Lehtonen - */ -public class Activator implements BundleActivator { - - public static final String PLUGIN_ID = "org.simantics.workbench.search"; - - private static BundleContext context; - - static BundleContext getContext() { - return context; - } - - /* - * (non-Javadoc) - * @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext) - */ - public void start(BundleContext bundleContext) throws Exception { - Activator.context = bundleContext; - } - - /* - * (non-Javadoc) - * @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext) - */ - public void stop(BundleContext bundleContext) throws Exception { - Activator.context = null; - } - -} +package org.simantics.workbench.search; + +import org.osgi.framework.BundleActivator; +import org.osgi.framework.BundleContext; + +/** + * @author Tuukka Lehtonen + */ +public class Activator implements BundleActivator { + + public static final String PLUGIN_ID = "org.simantics.workbench.search"; + + private static BundleContext context; + + static BundleContext getContext() { + return context; + } + + /* + * (non-Javadoc) + * @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext) + */ + public void start(BundleContext bundleContext) throws Exception { + Activator.context = bundleContext; + } + + /* + * (non-Javadoc) + * @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext) + */ + public void stop(BundleContext bundleContext) throws Exception { + Activator.context = null; + } + +}