java.lang.Object | +--org.eclipse.core.runtime.Plugin | +--org.eclipse.ui.plugin.AbstractUIPlugin | +--com.ibm.lab.soln.resources.EDUResourcesPlugin
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).
Fields inherited from class org.eclipse.core.runtime.Plugin |
PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME |
Constructor Summary | |
EDUResourcesPlugin(org.eclipse.core.runtime.IPluginDescriptor descriptor)
The constructor. |
Method Summary | |
boolean |
addMy_RCL()
Adds a workspace resource change listener when called by the ActionManageTraceRCLs logic. |
void |
addMy_RE_RCL()
Adds a workspace resource change listener when called by this plug-in's startup() method. |
void |
addMy_SaveP()
Adds a workspace save participant when called by this plug-ins startup() method. |
void |
earlyStartup()
Method Stub. |
static EDUResourcesPlugin |
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 using the platform implementation of the Resources plugin. |
void |
startup()
Method triggered when the plug-in started by Eclipse. |
Methods inherited from class org.eclipse.ui.plugin.AbstractUIPlugin |
createImageRegistry, getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, initializeDefaultPluginPreferences, initializeDefaultPreferences, initializeImageRegistry, loadDialogSettings, loadPreferenceStore, refreshPluginActions, saveDialogSettings, savePreferenceStore, shutdown |
Methods inherited from class org.eclipse.core.runtime.Plugin |
find, find, getDescriptor, getLog, getPluginPreferences, getStateLocation, 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 EDUResourcesPlugin(org.eclipse.core.runtime.IPluginDescriptor descriptor)
Method Detail |
public boolean addMy_RCL() throws org.eclipse.core.runtime.CoreException
ActionManageTraceRCLs
logic.
Multiple approaches to adding an RCL, with all or selected event types
identified, are included in the method source.public void addMy_RE_RCL()
public void addMy_SaveP() throws org.eclipse.core.runtime.CoreException
public void earlyStartup()
earlyStartup
in interface org.eclipse.ui.IStartup
IStartup.earlyStartup()
public static EDUResourcesPlugin getDefault()
public java.util.ResourceBundle getResourceBundle()
public static java.lang.String getResourceString(java.lang.String key)
public static org.eclipse.core.resources.IWorkspace getWorkspace()
public void startup() throws org.eclipse.core.runtime.CoreException
RecentEditsRCL
)
and workspace save participant (see WorkspaceSaveParticipant
).startup
in class org.eclipse.ui.plugin.AbstractUIPlugin