com.ibm.lab.soln.swing.internalLaunch.extras
Class SwingEditorPlugin

java.lang.Object
  |
  +--org.eclipse.core.runtime.Plugin
        |
        +--org.eclipse.ui.plugin.AbstractUIPlugin
              |
              +--com.ibm.lab.soln.swing.internalLaunch.extras.SwingEditorPlugin

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

The main plugin class used to mediate the communications to and from the ABCEditor


Fields inherited from class org.eclipse.core.runtime.Plugin
PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME
 
Constructor Summary
SwingEditorPlugin(org.eclipse.core.runtime.IPluginDescriptor descriptor)
          The constructor.
 
Method Summary
 ABCEditor getAbcEditor()
          Returns the ABCEditor.
static SwingEditorPlugin getDefault()
          Returns the shared instance of the plug-in.
 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.
static org.eclipse.core.resources.IWorkspace getWorkspace()
          Returns the workspace instance.
 void saveWorkspace()
          A method to save the workspace
 void updateWorkspace(org.eclipse.core.resources.IFile file)
          Method used to communicate workspace updates to Eclipse
 
Methods inherited from class org.eclipse.ui.plugin.AbstractUIPlugin
createImageRegistry, getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, initializeDefaultPluginPreferences, initializeDefaultPreferences, initializeImageRegistry, loadDialogSettings, loadPreferenceStore, refreshPluginActions, saveDialogSettings, savePreferenceStore, shutdown, startup
 
Methods inherited from class org.eclipse.core.runtime.Plugin
find, find, getDescriptor, getLog, getPluginPreferences, getStateLocation, 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

SwingEditorPlugin

public SwingEditorPlugin(org.eclipse.core.runtime.IPluginDescriptor descriptor)
The constructor.
Method Detail

getAbcEditor

public ABCEditor getAbcEditor()
Returns the ABCEditor.
Returns:
ABCEditor

getDefault

public static SwingEditorPlugin getDefault()
Returns the shared instance of the plug-in.

getResourceBundle

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

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.

getWorkspace

public static org.eclipse.core.resources.IWorkspace getWorkspace()
Returns the workspace instance.

saveWorkspace

public void saveWorkspace()
                   throws org.eclipse.core.runtime.CoreException
A method to save the workspace

updateWorkspace

public void updateWorkspace(org.eclipse.core.resources.IFile file)
Method used to communicate workspace updates to Eclipse