net.sf.eclipseexeditor
Class ExEditorPlugin

java.lang.Object
  extended byorg.eclipse.core.runtime.Plugin
      extended byorg.eclipse.ui.plugin.AbstractUIPlugin
          extended bynet.sf.eclipseexeditor.ExEditorPlugin
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class ExEditorPlugin
extends AbstractUIPlugin

Eclipse text editor enhancements plugin;


Field Summary
static String COPYRIGHT
           
 
Fields inherited from class org.eclipse.core.runtime.Plugin
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME
 
Constructor Summary
ExEditorPlugin()
          The constructor.
 
Method Summary
static ExEditorPlugin getDefault()
          Returns the shared instance.
 ResourceBundle getResourceBundle()
          Returns the plugin's resource bundle,
static String getResourceString(String key)
          Returns the string from the plugin's resource bundle, or 'key' if not found.
 void start(org.osgi.framework.BundleContext context)
          This method is called upon plug-in activation
 void stop(org.osgi.framework.BundleContext context)
          This method is called when the plug-in is stopped
 
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
 
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

COPYRIGHT

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

ExEditorPlugin

public ExEditorPlugin()
The constructor.

Method Detail

start

public void start(org.osgi.framework.BundleContext context)
           throws Exception
This method is called upon plug-in activation

Parameters:
context - BundleContext
Throws:
Exception
See Also:
BundleActivator.start(BundleContext)

stop

public void stop(org.osgi.framework.BundleContext context)
          throws Exception
This method is called when the plug-in is stopped

Parameters:
context - BundleContext
Throws:
Exception
See Also:
BundleActivator.stop(BundleContext)

getDefault

public static ExEditorPlugin getDefault()
Returns the shared instance.

Returns:
this EditorEnhancementsPlugin

getResourceString

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

Parameters:
key - String
Returns:
the resource value, or the key if no such resource exists

getResourceBundle

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

Returns:
this plugin's ResourceBundle