com.ibm.jdg2e.activex
Class ActiveXEditorPlugin

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

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

The main plugin class


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
ActiveXEditorPlugin()
          The constructor.
 
Method Summary
static ActiveXEditorPlugin 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.
static org.eclipse.core.resources.IWorkspace getWorkspace()
          Returns the workspace instance.
static void logError(java.lang.String message, java.lang.Throwable exception)
          Log an error to the ILog for this plugin
 
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

ActiveXEditorPlugin

public ActiveXEditorPlugin()
The constructor.

Method Detail

getDefault

public static ActiveXEditorPlugin getDefault()
Returns the shared instance.


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.


logError

public static void logError(java.lang.String message,
                            java.lang.Throwable exception)
Log an error to the ILog for this plugin

Parameters:
message - the localized error message text
exception - the associated exception, or null