diff --git a/rse/doc/org.eclipse.rse.doc.isv/guide/api/logger/uiLoggerAPI.html b/rse/doc/org.eclipse.rse.doc.isv/guide/api/logger/uiLoggerAPI.html
index 1c538cc5e33..f41f445d999 100755
--- a/rse/doc/org.eclipse.rse.doc.isv/guide/api/logger/uiLoggerAPI.html
+++ b/rse/doc/org.eclipse.rse.doc.isv/guide/api/logger/uiLoggerAPI.html
@@ -69,7 +69,7 @@ preference page is supplied:
Using The Common RSE Log File
To log your messages to the common RSE log file in .metadata\plugins\org.eclipse.rse.ui,
-either base your plugin class on the org.eclipse.rse.core.SystemBasePlugin class and use
+either base your plugin class on the org.eclipse.rse.ui.SystemBasePlugin class and use
the inherited logging methods, or instead of instantiating your own Logging object, re-use the
RSE-supplied logging object by calling getDefault().getLog() in the org.eclipse.rse.ui.RSEUIPlugin
class.
diff --git a/rse/doc/org.eclipse.rse.doc.isv/guide/api/messages/uiMessageAPI.html b/rse/doc/org.eclipse.rse.doc.isv/guide/api/messages/uiMessageAPI.html
index 8018d11cc45..893fb642447 100755
--- a/rse/doc/org.eclipse.rse.doc.isv/guide/api/messages/uiMessageAPI.html
+++ b/rse/doc/org.eclipse.rse.doc.isv/guide/api/messages/uiMessageAPI.html
@@ -15,7 +15,7 @@ you use:
- Static methods in the
-
+
class to load the message file and extract messages from it.
- Classes in the
org.eclipse.rse.ui.messages
@@ -25,12 +25,12 @@ package to do variable substitution, and display the messages to the user.
Methods for Parsing the Message File
Once you have defined your message file, you must update your plugin class to load it at startup time.
To do this, simply call the static method
-loadMessageFile
+loadMessageFile
in the RSE-supplied SystemBasePlugin class.
After the message file is loaded into memory, you can extract messages from it by calling the static method
-getMessage
+getMessage
from the same SystemBasePlugin class.
@@ -38,11 +38,11 @@ from the same SystemBasePluginThe following classes are all defined in the org.eclipse.rse.ui.messages package.
The SystemMessageFile Class
-The loadMessageFile method in SystemBasePlugin, returns an instance of
+
The loadMessageFile method in SystemBasePlugin, returns an instance of
SystemMessageFile,
representing the parsed message file. It is methods in this which return individual messages.
The SystemMessage Class
-The getMessage method in SystemBasePlugin returns an instance of
+The getMessage method in SystemBasePlugin returns an instance of
SystemMessage,
representing an individual message from the message file.
@@ -116,7 +116,7 @@ To get the first-level text, call getMessage(), or getSystemM
In your plugin class, declare a message file static variable, load the message file in the constructor, and
supply a static method for retrieving a message from the file.
import org.eclipse.rse.ui.messages.*; // for message file classes
-import org.eclipse.rse.core.*; // for SystemBasePlugin
+import org.eclipse.rse.ui.*; // for SystemBasePlugin
...
private static SystemMessageFile messageFile = null;
...
diff --git a/rse/doc/org.eclipse.rse.doc.isv/guide/api/plugin/uiPluginAPI.html b/rse/doc/org.eclipse.rse.doc.isv/guide/api/plugin/uiPluginAPI.html
index 7c9bba5a63f..2d27c6cd9b4 100755
--- a/rse/doc/org.eclipse.rse.doc.isv/guide/api/plugin/uiPluginAPI.html
+++ b/rse/doc/org.eclipse.rse.doc.isv/guide/api/plugin/uiPluginAPI.html
@@ -16,26 +16,26 @@ of using this as your base class is the inherited methods you can access.
Methods required in your plugin subclass
To use the RSE base plugin class
-org.eclipse.rse.core.SystemBasePlugin,
+org.eclipse.rse.ui.SystemBasePlugin,
you subclass it for your own plugin class, and supply some key static methods of your own:
- getDefault(). Return a singleton instance of your plugin.
- getResourceBundle(). Return the resource bundle for your plugin. This is stored in
-a static field, initialized in your constructor by calling the loadResourceBundle(...) inherited method.
+a static field, initialized in your constructor by calling the loadResourceBundle(...) inherited method.
- getString(String key). Return a translated string by calling the inherited method
-getString(ResourceBundle rb, String key), passing in the static resource bundle field.
+getString(ResourceBundle rb, String key), passing in the static resource bundle field.
- getPluginMessageFile(). Return your RSE message file instance, initialized in your
-constructor by calling loadMessageFile(...).
+constructor by calling loadMessageFile(...).
- getPluginMessage(String msgID). Return the
SystemMessage for the given ID, by
calling the inherited method
-getMessage(getPluginMessageFile(), msgId). You will call this method often to get message objects.
+getMessage(getPluginMessageFile(), msgId). You will call this method often to get message objects.
You may also override some RSE-supplied instance methods:
@@ -50,31 +50,31 @@ to load each of your images.
Methods inherited from the RSE base class
The methods you get access to by using the RSE-supplied base plugin class include:
-- getPluginId(). Return this plugin's ID.
-
- getActiveWorkbenchShell(). Return the shell of the active workbench window.
-
- getActiveWorkbenchWindow(). Return the active workbench window.
-
- getWorkspaceRoot(). Return the root of the workspace.
-
- getWorkspace(). Return the workspace root.
-
- getInstallLocation(). Return the install directory for this plugin.
-
- getIconPath(). Return the typical path for icons, relative to the plugin's folder: "icons/"
-
- putImageInRegistry(String id, String fileName). Load an image in the image registry, given the ID to retrieve it with, and its filename and path relative to this plugin's folder
-
- getImage(String id). Return an Image given the ID with which it was registered in putImageInRegistry.
-
- getImageDescriptor(String id). Return an ImageDescriptor given the ID with which it was registered in putImageInRegistry.
-
- loadResourceBundle(IPluginDescriptor descriptor, String fileName). Load a resource bundle, given its file name, relative to the given plugin's installation folder.
-
- loadResourceBundle(String fileName). Load a resource bundle, given its file name, relative to this plugin's installation folder.
-
- getString(ResourceBundle rb, String id). Return a translated string from a resource bundle, given its key ID.
-
- getString(ResourceBundle rb, String id, String default). Return a translated string from a resource bundle, given its key ID. If key not found in the resource bundle, returns the given default string.
-
- loadMessageFile(IPluginDescriptor descriptor,String fileName). Parse an RSE-style message file into memory, given the plugin and message file name.
-
- getMessage(SystemMessageFile msgFile, String msgId). Retrieve a SystemMessage object, given the message file that contains it, and its message ID including component and subcomponent abbreviations.
-
- scanForDuplicateMessages(SystemMessageFile msgFile). Scan given message file for duplicate IDs. Typically only called during the development cycle.
-
- printMessages(SystemMessageFile msgFile, String fullyQualifiedTargetFile). Generate an HTML file documenting the messages in the given message file, given the fully qualified name of the target HTML file.
-
- showProgrammerErrorMessage(String msg). Show a message to the user, when the message file support is not available.
-
- logInfo(String message). Log an informational message to the RSE's core log file (.....\.metadata\.plugins\org.eclipse.rse.core\.log).
-
- logWarning(String message). Log a warning message to the RSE's core log file (.....\.metadata\.plugins\org.eclipse.rse.core\.log).
-
- logError(String message). Log an error message to the RSE's core log file (.....\.metadata\.plugins\org.eclipse.rse.core\.log).
-
- logError(String message, Throwable exception). Log an error message resulting from an exception to the RSE's core log file (.....\.metadata\.plugins\org.eclipse.rse.core\.log).
-
- logDebugMessage(String prefix, String message). Log a debug (trace) message to the RSE's core log file (.....\.metadata\.plugins\org.eclipse.rse.core\.log).
-
- getLogger().Return the Logger instance for the RSE default logging file (.....\.metadata\.plugins\org.eclipse.rse.core\.log).
+
- getPluginId(). Return this plugin's ID.
+
- getActiveWorkbenchShell(). Return the shell of the active workbench window.
+
- getActiveWorkbenchWindow(). Return the active workbench window.
+
- getWorkspaceRoot(). Return the root of the workspace.
+
- getWorkspace(). Return the workspace root.
+
- getInstallLocation(). Return the install directory for this plugin.
+
- getIconPath(). Return the typical path for icons, relative to the plugin's folder: "icons/"
+
- putImageInRegistry(String id, String fileName). Load an image in the image registry, given the ID to retrieve it with, and its filename and path relative to this plugin's folder
+
- getImage(String id). Return an Image given the ID with which it was registered in putImageInRegistry.
+
- getImageDescriptor(String id). Return an ImageDescriptor given the ID with which it was registered in putImageInRegistry.
+
- loadResourceBundle(IPluginDescriptor descriptor, String fileName). Load a resource bundle, given its file name, relative to the given plugin's installation folder.
+
- loadResourceBundle(String fileName). Load a resource bundle, given its file name, relative to this plugin's installation folder.
+
- getString(ResourceBundle rb, String id). Return a translated string from a resource bundle, given its key ID.
+
- getString(ResourceBundle rb, String id, String default). Return a translated string from a resource bundle, given its key ID. If key not found in the resource bundle, returns the given default string.
+
- loadMessageFile(IPluginDescriptor descriptor,String fileName). Parse an RSE-style message file into memory, given the plugin and message file name.
+
- getMessage(SystemMessageFile msgFile, String msgId). Retrieve a SystemMessage object, given the message file that contains it, and its message ID including component and subcomponent abbreviations.
+
- scanForDuplicateMessages(SystemMessageFile msgFile). Scan given message file for duplicate IDs. Typically only called during the development cycle.
+
- printMessages(SystemMessageFile msgFile, String fullyQualifiedTargetFile). Generate an HTML file documenting the messages in the given message file, given the fully qualified name of the target HTML file.
+
- showProgrammerErrorMessage(String msg). Show a message to the user, when the message file support is not available.
+
- logInfo(String message). Log an informational message to the RSE's core log file (.....\.metadata\.plugins\org.eclipse.rse.core\.log).
+
- logWarning(String message). Log a warning message to the RSE's core log file (.....\.metadata\.plugins\org.eclipse.rse.core\.log).
+
- logError(String message). Log an error message to the RSE's core log file (.....\.metadata\.plugins\org.eclipse.rse.core\.log).
+
- logError(String message, Throwable exception). Log an error message resulting from an exception to the RSE's core log file (.....\.metadata\.plugins\org.eclipse.rse.core\.log).
+
- logDebugMessage(String prefix, String message). Log a debug (trace) message to the RSE's core log file (.....\.metadata\.plugins\org.eclipse.rse.core\.log).
+
- getLogger().Return the Logger instance for the RSE default logging file (.....\.metadata\.plugins\org.eclipse.rse.core\.log).