org.eclipse.emf.ecore.xcore.ui.internal
Class XcoreActivator
java.lang.Object
org.eclipse.core.runtime.Plugin
org.eclipse.ui.plugin.AbstractUIPlugin
org.eclipse.emf.ecore.xcore.ui.internal.XcoreActivator
- All Implemented Interfaces:
- org.osgi.framework.BundleActivator
public class XcoreActivator
- extends AbstractUIPlugin
This class was generated. Customizations should only happen in a newly
introduced subclass.
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_EMF_ECORE_XCORE_XCORE
public static final java.lang.String ORG_ECLIPSE_EMF_ECORE_XCORE_XCORE
- See Also:
- Constant Field Values
XcoreActivator
public XcoreActivator()
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 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 AbstractUIPlugin
- Throws:
java.lang.Exception
getInstance
public static XcoreActivator 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()