|
RSE Release 1.0 |
|||||||||||
| 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
org.eclipse.rse.core.SystemBasePlugin
org.eclipse.rse.processes.ui.ProcessesPlugin
The main plugin class to be used in the desktop.
| Field Summary | |
|---|---|
static String |
HELPPREFIX
|
| Fields inherited from class org.eclipse.rse.core.SystemBasePlugin |
|---|
log |
| Fields inherited from class org.eclipse.core.runtime.Plugin |
|---|
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME |
| Constructor Summary | |
|---|---|
ProcessesPlugin()
The constructor. |
|
| Method Summary | |
|---|---|
static ProcessesPlugin |
getDefault()
Returns the shared instance. |
SystemMessageFile |
getDefaultMessageFile(String messageFileName)
Load a default message file for this plugin for cases where messages haven't been translated. |
ImageDescriptor |
getImageDescriptorFromPath(String path)
|
SystemMessageFile |
getMessageFile(String messageFileName)
Load a message file for this plugin. |
static SystemMessage |
getPluginMessage(String msgId)
Retrieve a message from this plugin's message file |
ResourceBundle |
getResourceBundle()
Returns the plugin's resource bundle, |
static String |
getResourceString(String key)
Returns the string from the plugin's resource bundle, or 'key' if not found. |
protected void |
initializeImageRegistry()
Initialize the image registry by declaring all of the required graphics. |
void |
start(BundleContext context)
This method is called upon plug-in activation |
void |
stop(BundleContext context)
This method is called when the plug-in is stopped |
| Methods inherited from class org.eclipse.ui.plugin.AbstractUIPlugin |
|---|
createImageRegistry, getDialogSettings, getImageRegistry, getPreferenceStore, 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 |
| Field Detail |
public static final String HELPPREFIX
| Constructor Detail |
public ProcessesPlugin()
| Method Detail |
public void start(BundleContext context)
throws Exception
start in interface BundleActivatorstart in class SystemBasePluginExceptionBundleActivator.start(org.osgi.framework.BundleContext)
public void stop(BundleContext context)
throws Exception
stop in interface BundleActivatorstop in class SystemBasePluginExceptionBundleActivator.stop(org.osgi.framework.BundleContext)public static ProcessesPlugin getDefault()
public static String getResourceString(String key)
public ResourceBundle getResourceBundle()
public static SystemMessage getPluginMessage(String msgId)
msgId - - the ID of the message to retrieve. This is the concatenation of the
message's component abbreviation, subcomponent abbreviation, and message ID as declared
in the message xml file.public SystemMessageFile getMessageFile(String messageFileName)
messageFileName - - the name of the message xml file. Will look for it in this plugin's install folder.
public SystemMessageFile getDefaultMessageFile(String messageFileName)
messageFileName - - the name of the message xml file. Will look for it in this plugin's install folder.
public ImageDescriptor getImageDescriptorFromPath(String path)
protected void initializeImageRegistry()
initializeImageRegistry in class SystemBasePlugin
|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||