de.cau.cs.kieler.synccharts.text.ui
Class Activator

java.lang.Object
  extended by org.eclipse.core.runtime.Plugin
      extended by org.eclipse.ui.plugin.AbstractUIPlugin
          extended by de.cau.cs.kieler.synccharts.text.ui.Activator
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class Activator
extends AbstractUIPlugin

Customized bundle activator initializing all of the Xtext stuff.

Rating red

Field Summary
 
Fields inherited from class org.eclipse.core.runtime.Plugin
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME
 
Constructor Summary
Activator()
           
 
Method Summary
 com.google.inject.Injector getInjector(String languageName)
           
static Activator getInstance()
           
protected  com.google.inject.Module getRuntimeModule(String grammar)
           
protected  com.google.inject.Module getSharedStateModule()
           
protected  com.google.inject.Module getUiModule(String grammar)
           
 void start(org.osgi.framework.BundleContext context)
           
 
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, stop
 
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
 

Constructor Detail

Activator

public Activator()
Method Detail

getInjector

public com.google.inject.Injector getInjector(String languageName)

start

public void start(org.osgi.framework.BundleContext context)
           throws Exception
Specified by:
start in interface org.osgi.framework.BundleActivator
Overrides:
start in class AbstractUIPlugin
Throws:
Exception

getInstance

public static Activator getInstance()

getRuntimeModule

protected com.google.inject.Module getRuntimeModule(String grammar)

getUiModule

protected com.google.inject.Module getUiModule(String grammar)

getSharedStateModule

protected com.google.inject.Module getSharedStateModule()