org.eclipse.ercp.eworkbench
Class eWorkbenchPlugin

java.lang.Object
  extended by org.eclipse.core.runtime.Plugin
      extended by org.eclipse.ui.plugin.AbstractUIPlugin
          extended by org.eclipse.ercp.eworkbench.eWorkbenchPlugin
All Implemented Interfaces:
BundleActivator

public class eWorkbenchPlugin
extends AbstractUIPlugin

This internal class represents the main app.


Field Summary
static boolean DEBUG
           
static java.lang.String PL_APPLICATIONS
           
static java.lang.String PLUGIN_ID
          The workbench 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
eWorkbenchPlugin()
          Create an instance of the receiver.
 
Method Summary
static java.lang.Object createExtension(IConfigurationElement element, java.lang.String classAttribute)
          Creates an extension.
 IApplicationRegistry getApplicationRegistry()
          Return the application registry.
static eWorkbenchPlugin getDefault()
           
protected  void refreshPluginActions()
           
 
Methods inherited from class org.eclipse.ui.plugin.AbstractUIPlugin
createImageRegistry, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, initializeDefaultPreferences, initializeImageRegistry, loadPreferenceStore, 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
 

Field Detail

PL_APPLICATIONS

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

DEBUG

public static boolean DEBUG

PLUGIN_ID

public static final java.lang.String PLUGIN_ID
The workbench plugin ID.

See Also:
Constant Field Values
Constructor Detail

eWorkbenchPlugin

public eWorkbenchPlugin()
Create an instance of the receiver.

Method Detail

getApplicationRegistry

public IApplicationRegistry getApplicationRegistry()
Return the application registry.

Returns:
IApplicationRegistry. The registry for the receiver.

createExtension

public static java.lang.Object createExtension(IConfigurationElement element,
                                               java.lang.String classAttribute)
                                        throws CoreException
Creates an extension. If the extension plugin has not been loaded a busy cursor will be activated during the duration of the load.

Parameters:
element - the config element defining the extension
classAttribute - the name of the attribute carrying the class
Returns:
Object the extension object
Throws:
CoreException

getDefault

public static eWorkbenchPlugin getDefault()

refreshPluginActions

protected void refreshPluginActions()