Class KRenderingExtensionsPlugin
java.lang.Object
org.eclipse.core.runtime.Plugin
de.cau.cs.kieler.klighd.krendering.extensions.KRenderingExtensionsPlugin
- All Implemented Interfaces:
org.osgi.framework.BundleActivator
public class KRenderingExtensionsPlugin
extends org.eclipse.core.runtime.Plugin
Activator of the core.krendering.extensions bundle.
We'll see whether we need it in future.
- Author:
- chsch
-
Field Summary
FieldsFields inherited from class org.eclipse.core.runtime.Plugin
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.google.inject.ModuleConvenience method providing a Guice configurationModulethat binds theViewSynthesisSharedannotation to the generally availableScopes.NO_SCOPEscope.static com.google.inject.ModuleConvenience method providing a Guice configurationModulethat binds theViewSynthesisSharedannotation to the generally availableScopes.SINGLETONscope.voidstart(org.osgi.framework.BundleContext bundleContext) voidstop(org.osgi.framework.BundleContext bundleContext) Methods inherited from class org.eclipse.core.runtime.Plugin
find, find, getBundle, getLog, getPluginPreferences, getStateLocation, initializeDefaultPluginPreferences, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, shutdown, startup, toString
-
Field Details
-
PLUGIN_ID
The plug-in ID.- See Also:
-
-
Constructor Details
-
KRenderingExtensionsPlugin
public KRenderingExtensionsPlugin()
-
-
Method Details
-
start
- Specified by:
startin interfaceorg.osgi.framework.BundleActivator- Overrides:
startin classorg.eclipse.core.runtime.Plugin- Throws:
Exception
-
stop
- Specified by:
stopin interfaceorg.osgi.framework.BundleActivator- Overrides:
stopin classorg.eclipse.core.runtime.Plugin- Throws:
Exception
-
createSingletonScopeBindingModule
public static com.google.inject.Module createSingletonScopeBindingModule()Convenience method providing a Guice configurationModulethat binds theViewSynthesisSharedannotation to the generally availableScopes.SINGLETONscope.- Returns:
- the desired
Module
-
createNoScopeBindingModule
public static com.google.inject.Module createNoScopeBindingModule()Convenience method providing a Guice configurationModulethat binds theViewSynthesisSharedannotation to the generally availableScopes.NO_SCOPEscope. This configuration basically deactivates the scoping feature.- Returns:
- the desired
Module
-