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

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.KitsUIPlugin
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class KitsUIPlugin
extends AbstractUIPlugin

Customized bundle activator initializing all of the Xtext stuff.

Rating red

Field Summary
static String ACTIONS_LANGUAGE
           
static String KITS_LANGUAGE
           
static String KITS_LANGUAGE_EMBEDDED
           
static String KITS_STATE_LANGUAGE
           
 
Fields inherited from class org.eclipse.core.runtime.Plugin
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME
 
Constructor Summary
KitsUIPlugin()
           
 
Method Summary
 com.google.inject.Injector getInjector(String languageName)
           
static KitsUIPlugin 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
 

Field Detail

ACTIONS_LANGUAGE

public static final String ACTIONS_LANGUAGE
See Also:
Constant Field Values

KITS_LANGUAGE

public static final String KITS_LANGUAGE
See Also:
Constant Field Values

KITS_STATE_LANGUAGE

public static final String KITS_STATE_LANGUAGE
See Also:
Constant Field Values

KITS_LANGUAGE_EMBEDDED

public static final String KITS_LANGUAGE_EMBEDDED
See Also:
Constant Field Values
Constructor Detail

KitsUIPlugin

public KitsUIPlugin()
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 KitsUIPlugin 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()