modesteditor.launch
Class ModestLaunchPlugin

java.lang.Object
  extended by org.eclipse.core.runtime.Plugin
      extended by org.eclipse.ui.plugin.AbstractUIPlugin
          extended by modesteditor.launch.ModestLaunchPlugin
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class ModestLaunchPlugin
extends org.eclipse.ui.plugin.AbstractUIPlugin

The main plugin class. Generated by Eclipse and slightly modified. Contains the string constants used as identifiers by other classes.


Field Summary
static java.lang.String COMPILER_LOCATION
          String attribute for the path to the momodest binary
static java.lang.String DOT_FILE_CREATION
          String attribute for the dot file creation flag
static java.lang.String FSNS_LOCATION
          String attribute for the path to the fsns binary
static java.lang.String FSNS_RUN
          String attribute for the fsns run flag
static java.lang.String MODEST_COMPILE_FILE
          String attribute for the file path in a launch configuration.
static java.lang.String MODEST_CONFIG_PROJECT
          String attribute for the project name in a launch configuration.
static java.lang.String OUTPUT_FOLDER_LOCATION
          String attribute for the path to the output folder of the compiler
static java.lang.String PLUGIN_ID
           
 
Fields inherited from class org.eclipse.core.runtime.Plugin
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME
 
Constructor Summary
ModestLaunchPlugin()
          The constructor
 
Method Summary
static ModestLaunchPlugin getDefault()
          Returns the shared instance
 java.util.ResourceBundle getResourceBundle()
          Returns the plugin's resource bundle,
static java.lang.String getResourceString(java.lang.String key)
          Returns the string from the plugin's resource bundle, or 'key' if not found.
protected  void initializeDefaultPreferences(org.eclipse.jface.preference.IPreferenceStore store)
           
 void start(org.osgi.framework.BundleContext context)
           
 void stop(org.osgi.framework.BundleContext context)
           
 
Methods inherited from class org.eclipse.ui.plugin.AbstractUIPlugin
createImageRegistry, getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, 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
 

Field Detail

PLUGIN_ID

public static final java.lang.String PLUGIN_ID
See Also:
Constant Field Values

COMPILER_LOCATION

public static final java.lang.String COMPILER_LOCATION
String attribute for the path to the momodest binary

See Also:
Constant Field Values

FSNS_LOCATION

public static final java.lang.String FSNS_LOCATION
String attribute for the path to the fsns binary

See Also:
Constant Field Values

OUTPUT_FOLDER_LOCATION

public static final java.lang.String OUTPUT_FOLDER_LOCATION
String attribute for the path to the output folder of the compiler

See Also:
Constant Field Values

DOT_FILE_CREATION

public static final java.lang.String DOT_FILE_CREATION
String attribute for the dot file creation flag

See Also:
Constant Field Values

FSNS_RUN

public static final java.lang.String FSNS_RUN
String attribute for the fsns run flag

See Also:
Constant Field Values

MODEST_CONFIG_PROJECT

public static final java.lang.String MODEST_CONFIG_PROJECT
String attribute for the project name in a launch configuration.

See Also:
Constant Field Values

MODEST_COMPILE_FILE

public static final java.lang.String MODEST_COMPILE_FILE
String attribute for the file path in a launch configuration.

See Also:
Constant Field Values
Constructor Detail

ModestLaunchPlugin

public ModestLaunchPlugin()
The constructor

Method Detail

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

initializeDefaultPreferences

protected void initializeDefaultPreferences(org.eclipse.jface.preference.IPreferenceStore store)
Overrides:
initializeDefaultPreferences in class org.eclipse.ui.plugin.AbstractUIPlugin

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

getDefault

public static ModestLaunchPlugin getDefault()
Returns the shared instance

Returns:
the shared instance

getResourceString

public static java.lang.String getResourceString(java.lang.String key)
Returns the string from the plugin's resource bundle, or 'key' if not found.


getResourceBundle

public java.util.ResourceBundle getResourceBundle()
Returns the plugin's resource bundle,