|
Extension SDK 10.1.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.ide.help.HelpSystem
HelpSystem interface - high-level abstraction between the interaction of the IDE from the underlying implementation of a Help System.
Field Summary | |
static int |
ADD_AFTER
ADD_AFTER is used to indicate a HelpSet should be added AFTER a a specified HelpSet file |
static int |
ADD_BEFORE
ADD_BEFORE is used to indicate a HelpSet should be added BEFORE a a specified HelpSet file |
Constructor Summary | |
HelpSystem()
|
Method Summary | |
abstract void |
clearHelpSystem()
|
static HelpSystem |
getHelpSystem()
Returns the HelpSystem instance that is active in the IDE. |
abstract void |
goTo(java.lang.String topicID)
Invokes the Help Viewer on topicID |
abstract void |
registerClientWindow(java.awt.Window aWindow)
Registers the Window with the Help System so that when the
Window is modal, the Help Viewer will still operate properly. |
abstract void |
registerHelpSetURL(java.net.URL url)
Registers the { @link URL} to a HelpSet file. |
abstract void |
registerHelpSetURL(java.net.URL url,
java.lang.String relativeToName,
int relativeLocation)
Registers the { @link URL} to a HelpSet file. |
abstract void |
registerTopic(javax.swing.JComponent component,
java.lang.String topicID)
Registers the topicID with the JComponent for
context sensitive help. |
abstract void |
registerTopicSubstitute(java.lang.String oldTopicId,
java.lang.String newTopicId)
Registers a substitute topic id. |
static void |
setHelpSystem(HelpSystem helpSystem)
Publishes the specified HelpSystem as the active instance in the IDE. |
abstract void |
showHelp(Context c)
Invokes the Help Viewer on help topic for the JComponent |
abstract void |
showHelp(HelpInfo helpInfo)
Invokes the Help Viewer on the HelpInfo |
abstract void |
showHelp(javax.swing.JComponent component)
Invokes the Help Viewer on help topic for the JComponent |
abstract void |
showLanguageHelp(Context context,
java.lang.String symbolName)
Shows help on the language symbol symbolName |
abstract void |
unregisterClientWindow(java.awt.Window aWindow)
Registers the Window with the Help System. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int ADD_BEFORE
public static final int ADD_AFTER
Constructor Detail |
public HelpSystem()
Method Detail |
public static HelpSystem getHelpSystem()
public static void setHelpSystem(HelpSystem helpSystem)
public abstract void showHelp(javax.swing.JComponent component)
JComponent
JComponent
public abstract void showHelp(Context c)
JComponent
JComponent
public abstract void showHelp(HelpInfo helpInfo)
HelpInfo
HelpInfo
public abstract void goTo(java.lang.String topicID)
topicID
public abstract void registerTopic(javax.swing.JComponent component, java.lang.String topicID)
topicID
with the JComponent
for
context sensitive help.
JComponent
public abstract void registerClientWindow(java.awt.Window aWindow)
Window
with the Help System so that when the
Window
is modal, the Help Viewer will still operate properly.
public abstract void unregisterClientWindow(java.awt.Window aWindow)
Window
with the Help System.
public abstract void showLanguageHelp(Context context, java.lang.String symbolName)
context
- The current context to use for resolving the symbolNamesymbolName
- the language token used for helppublic abstract void registerHelpSetURL(java.net.URL url)
public abstract void registerHelpSetURL(java.net.URL url, java.lang.String relativeToName, int relativeLocation)
url
- The URL
of the HelpSet file to add to the help systemrelativeToName
- The file name to use for relative placement of this
HelpSet file. Only use the file name, eg, getting_started.jar)relativeLocation
- Use the values HelpSystem.ADD_BEFORE or HelpSystem.ADD_AFTER
to indicate how this HelpSet file should be place relative to the given
relativeToNamepublic abstract void clearHelpSystem()
public abstract void registerTopicSubstitute(java.lang.String oldTopicId, java.lang.String newTopicId)
oldTopicId
- the old topic idnewTopicId
- the new topic id.
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.