com.ibm.jdg2e.swing.external.launcher
Class SwingEditorPlugin

java.lang.Object
  extended byorg.eclipse.core.runtime.Plugin
      extended byorg.eclipse.ui.plugin.AbstractUIPlugin
          extended bycom.ibm.jdg2e.swing.external.launcher.SwingEditorPlugin
All Implemented Interfaces:
org.osgi.framework.BundleActivator

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

The main plug-in class used to mediate the communications to and from the ABCEditor.


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
SwingEditorPlugin()
          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.runtime.IPath eclipseEditorInput)
          Method used to communicate workspace updates to Eclipse
 
Methods inherited from class org.eclipse.ui.plugin.AbstractUIPlugin
createImageRegistry, getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, initializeDefaultPreferences, initializeImageRegistry, loadDialogSettings, loadPreferenceStore, refreshPluginActions, saveDialogSettings, savePreferenceStore, shutdown, start, 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

SwingEditorPlugin

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

Throws:
org.eclipse.core.runtime.CoreException

updateWorkspace

public void updateWorkspace(org.eclipse.core.runtime.IPath eclipseEditorInput)
Method used to communicate workspace updates to Eclipse