java.lang.Objectorg.eclipse.core.runtime.Plugin
org.eclipse.ui.plugin.AbstractUIPlugin
com.ibm.jdg2e.resources.extensions.ResourceExtensions
The plugin class for the Resource Programming Plugin. Instantiated by the platform when the plug-in is started.
Note: The plug-in class name is EDUResourcePlugin to avoid a name collision and confusion with the platform Resources Plug-in (see getWorkspace() method).
| 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 | |
ResourceExtensions()
|
|
| Method Summary | |
void |
earlyStartup()
Method Stub. |
static ResourceExtensions |
getDefault()
|
static java.lang.String |
getPluginID()
|
java.util.ResourceBundle |
getResourceBundle()
|
static java.lang.String |
getResourceString(java.lang.String key)
|
static org.eclipse.core.resources.IWorkspace |
getWorkspace()
|
void |
preferenceChange(org.eclipse.core.runtime.preferences.IEclipsePreferences.PreferenceChangeEvent event)
React to user changes to preference tha enables or disables recent edit tracking. |
void |
start(org.osgi.framework.BundleContext context)
Add recent edit resource change listener. |
void |
stop(org.osgi.framework.BundleContext context)
Remove the recent edit resource change listener. |
| 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 |
| Constructor Detail |
public ResourceExtensions()
| Method Detail |
public void earlyStartup()
earlyStartup in interface org.eclipse.ui.IStartupIStartup.earlyStartup()public static ResourceExtensions getDefault()
public static java.lang.String getPluginID()
public java.util.ResourceBundle getResourceBundle()
public static java.lang.String getResourceString(java.lang.String key)
key -
public static org.eclipse.core.resources.IWorkspace getWorkspace()
public void preferenceChange(org.eclipse.core.runtime.preferences.IEclipsePreferences.PreferenceChangeEvent event)
preferenceChange in interface org.eclipse.core.runtime.preferences.IEclipsePreferences.IPreferenceChangeListenerIEclipsePreferences.IPreferenceChangeListener.preferenceChange(org.eclipse.core.runtime.preferences.IEclipsePreferences.PreferenceChangeEvent)
public void start(org.osgi.framework.BundleContext context)
throws java.lang.Exception
start in interface org.osgi.framework.BundleActivatorjava.lang.ExceptionAbstractUIPlugin.start(org.osgi.framework.BundleContext)
public void stop(org.osgi.framework.BundleContext context)
throws java.lang.Exception
stop in interface org.osgi.framework.BundleActivatorjava.lang.ExceptionAbstractUIPlugin.stop(org.osgi.framework.BundleContext)