java.lang.Object
org.eclipse.ui.help.AbstractHelpUI
org.eclipse.help.ui.internal.DefaultHelpUI
- public class DefaultHelpUI
- extends org.eclipse.ui.help.AbstractHelpUI
This class is an implementation of the Help UI. In is registered into the
helpSupport extension point, and is responsible for handling requests to
display help. The methods on this class interact with the actual UI component
handling the display.
Most methods delegate most work to HelpDisplay class; only the UI specific
ones implemented in place.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
f1Dialog
private ContextHelpDialog f1Dialog
DefaultHelpUI
public DefaultHelpUI()
- Constructor.
displayHelp
public void displayHelp()
- Displays help.
displayHelpResource
public void displayHelpResource(java.lang.String href)
- Displays a help resource specified as a url.
- a URL in a format that can be returned by
IHelpResource.getHref() 55
- a URL query in the format format
key=value&key=value ... The valid keys are: "tab", "toc",
"topic", "contextId". For example,
toc="/myplugin/mytoc.xml"&topic="/myplugin/references/myclass.html"
is valid.
displayContext
public void displayContext(org.eclipse.help.IContext context,
int x,
int y)
- Displays context-sensitive help for specified context
isContextHelpDisplayed
public boolean isContextHelpDisplayed()
- Returns
true if the context-sensitive help window is
currently being displayed, false if not.
useExternalBrowser
private boolean useExternalBrowser(java.lang.String url)