org.eclipse.ocl.examples.xtext.oclstdlib.ui.internal
Class OCLstdlibActivator
java.lang.Object
org.eclipse.core.runtime.Plugin
org.eclipse.ui.plugin.AbstractUIPlugin
org.eclipse.ocl.examples.xtext.oclstdlib.ui.internal.OCLstdlibActivator
- All Implemented Interfaces:
- org.osgi.framework.BundleActivator
public class OCLstdlibActivator
- extends org.eclipse.ui.plugin.AbstractUIPlugin
This class was generated. Customizations should only happen in a newly
introduced subclass.
Fields inherited from class org.eclipse.core.runtime.Plugin |
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME |
Methods inherited from class org.eclipse.ui.plugin.AbstractUIPlugin |
createImageRegistry, getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, initializeDefaultPreferences, initializeImageRegistry, loadDialogSettings, loadPreferenceStore, refreshPluginActions, saveDialogSettings, savePreferenceStore, shutdown, startup |
Methods inherited from class org.eclipse.core.runtime.Plugin |
find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ORG_ECLIPSE_OCL_EXAMPLES_XTEXT_OCLSTDLIB_OCLSTDLIB
public static final java.lang.String ORG_ECLIPSE_OCL_EXAMPLES_XTEXT_OCLSTDLIB_OCLSTDLIB
- See Also:
- Constant Field Values
OCLstdlibActivator
public OCLstdlibActivator()
start
public void start(org.osgi.framework.BundleContext context)
throws java.lang.Exception
- Specified by:
start
in interface org.osgi.framework.BundleActivator
- Overrides:
start
in class org.eclipse.ui.plugin.AbstractUIPlugin
- Throws:
java.lang.Exception
stop
public void stop(org.osgi.framework.BundleContext context)
throws java.lang.Exception
- Specified by:
stop
in interface org.osgi.framework.BundleActivator
- Overrides:
stop
in class org.eclipse.ui.plugin.AbstractUIPlugin
- Throws:
java.lang.Exception
getInstance
public static OCLstdlibActivator getInstance()
getInjector
public com.google.inject.Injector getInjector(java.lang.String language)
createInjector
protected com.google.inject.Injector createInjector(java.lang.String language)
getRuntimeModule
protected com.google.inject.Module getRuntimeModule(java.lang.String grammar)
getUiModule
protected com.google.inject.Module getUiModule(java.lang.String grammar)
getSharedStateModule
protected com.google.inject.Module getSharedStateModule()