|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.eclipse.core.runtime.Plugin
org.eclipse.ui.plugin.AbstractUIPlugin
com.ibm.jdg2e.resources.programming.ResourceProgramming
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 | |
static boolean |
TRACE_ENABLED
Global Trace Control |
| Fields inherited from class org.eclipse.core.runtime.Plugin |
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME |
| Constructor Summary | |
ResourceProgramming()
The constructor. |
|
| Method Summary | |
void |
addMy_SaveP()
Adds a workspace save participant when called by this plug-ins startup() method. |
void |
addResourceChangeListener()
Adds a workspace resource change listener when called by the ActionManageTraceRCLs logic. |
static ResourceProgramming |
getDefault()
|
org.eclipse.swt.widgets.List |
getList()
|
java.util.ResourceBundle |
getResourceBundle()
|
static java.lang.String |
getResourceString(java.lang.String key)
|
static org.eclipse.core.resources.IWorkspace |
getWorkspace()
Returns the workspace instance using the platform implementation of the Resources plugin. |
boolean |
isRclActive()
|
void |
removeResourceChangeListener()
Removes an existing workspace resource change listener when called by the ActionManageTraceRCLs logic. |
void |
resetRCLCounter()
Reset request to tell RCL to start counting events from one again. |
void |
setList(org.eclipse.swt.widgets.List list)
Define list for use when writing events from the RCL. |
void |
start(org.osgi.framework.BundleContext context)
Method triggered when the plug-in started by Eclipse. |
| 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, 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 |
public static final boolean TRACE_ENABLED
| Constructor Detail |
public ResourceProgramming()
| Method Detail |
public void addMy_SaveP()
throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreExceptionpublic void addResourceChangeListener()
ActionManageTraceRCLs logic.
Multiple approaches to adding an RCL, with all or selected event types
identified, are included in the method source.
public static ResourceProgramming getDefault()
public org.eclipse.swt.widgets.List getList()
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 boolean isRclActive()
public void removeResourceChangeListener()
ActionManageTraceRCLs logic.
Multiple approaches to adding an RCL, with all or selected event types
identified, are included in the method source.
public void resetRCLCounter()
public void setList(org.eclipse.swt.widgets.List list)
list -
public void start(org.osgi.framework.BundleContext context)
throws java.lang.Exception
RecentEditsRCL) and
workspace save participant (see WorkspaceSaveParticipant).
java.lang.ExceptionBundleActivator.start(org.osgi.framework.BundleContext)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||