com.ibm.etools.iseries.editor
Class SQLHelpHandler
java.lang.Object
com.ibm.etools.systems.editor.SystemTextEditorHelpHandler
com.ibm.etools.iseries.editor.SQLHelpHandler
public class SQLHelpHandler
- extends SystemTextEditorHelpHandler
This class extends SystemTextEditorHelpHandler to add support for pressing help
on SQL error messages.
- Since:
- 7.1
Fields inherited from class com.ibm.etools.systems.editor.SystemTextEditorHelpHandler |
_helpMessageTokenResourceBundle, _helpTokenResourceBundle, _parser, _strEmpty, _strHelpDocPluginID, _strHelpMessageDocPluginID, _strHelpMessageTokenTableFileName, _strHelpMessageTokenTablePluginID, _strHelpTokenTableFileName, _strHelpTokenTablePluginID, Copyright |
Constructor Summary |
SQLHelpHandler(String strHelpTokenTablePluginID,
String strHelpTokenTableFileName,
String strHelpDocPluginID,
String strHelpMessageTokenTablePluginID,
String strHelpMessageTokenTableFileName,
String strHelpMessageDocPluginID,
LpexCommonParser parser)
The constructor for this class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SQLHelpHandler
public SQLHelpHandler(String strHelpTokenTablePluginID,
String strHelpTokenTableFileName,
String strHelpDocPluginID,
String strHelpMessageTokenTablePluginID,
String strHelpMessageTokenTableFileName,
String strHelpMessageDocPluginID,
LpexCommonParser parser)
- The constructor for this class.
- See Also:
SystemTextEditorHelpHandler
getHelpPage
public String getHelpPage(LpexView view)
- Description copied from class:
SystemTextEditorHelpHandler
- Returns the help page identifier at the current cursor position.
The parser is called to obtain the current token.
- Overrides:
getHelpPage
in class SystemTextEditorHelpHandler
getHelpPageFromMessageToken
public String getHelpPageFromMessageToken(String strToken)
- Description copied from class:
SystemTextEditorHelpHandler
- Called from Source Prompt view, or getHelpPage.
The message help table is to have keys that are numbers only.
Returns the help page identifier given a token or help resource identifier.
- Overrides:
getHelpPageFromMessageToken
in class SystemTextEditorHelpHandler
Copyright © 2011 IBM Corp. All Rights Reserved.
Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.