Class AbstractHelpUI
- Direct Known Subclasses:
- DefaultHelpUI
 The Eclipse platform provides an extension point
 ("org.eclipse.ui.helpSupport") for plugging in a help system UI.
 The help system UI is an optional component; applications may provide a UI
 for presenting help to the user by implementing a subclass and including the
 name of their class in the <config> element in an
 extension to the "org.eclipse.ui.helpSupport" extension point.
 
 Note that the standard implementation of the help system UI is provided by
 the "org.eclipse.help.ui" plug-in. Since the platform can only
 make use of a single help system UI implementation, make sure that the
 platform is not configured with more than one plug-in trying to extend this
 extension point.
 
- Since:
- 3.0
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionabstract voiddisplayContext(IContext context, int x, int y) Displays context-sensitive help for the given context.voidDisplays the dynamic help for the active context.abstract voidDisplays the entire help bookshelf.abstract voiddisplayHelpResource(String href) Displays help content for the help resource with the given URL.voidDisplays the help search facility.abstract booleanReturns whether the context-sensitive help window is currently being displayed.Resolves the help resource href according to the help system implementation.voidStarts the help search using the help search facility.
- 
Constructor Details- 
AbstractHelpUIpublic AbstractHelpUI()
 
- 
- 
Method Details- 
displayHelppublic abstract void displayHelp()Displays the entire help bookshelf.
- 
displaySearchpublic void displaySearch()Displays the help search facility. For backward compatibility, the default implementation does nothing.- Since:
- 3.1
 
- 
displayDynamicHelppublic void displayDynamicHelp()Displays the dynamic help for the active context. For backward compatibility, the default implementation does nothing.- Since:
- 3.1
 
- 
searchStarts the help search using the help search facility. For backward compatibility, the default implementation does nothing.- Parameters:
- expression- the search expression
- Since:
- 3.1
 
- 
resolveResolves the help resource href according to the help system implementation.- Parameters:
- href- the help resource
- documentOnly- if- true, the resulting URL must point at the document referenced by href. Otherwise, it can be a URL that contains additional elements like navigation that the help system adds to the document.
- Returns:
- the fully resolved URL of the help resource or nullif not supported. Help systems that use application servers typically return URLs with http: protocol. Simple help system implementations can return URLs with file: protocol.
- Since:
- 3.1
 
- 
displayContextDisplays context-sensitive help for the given context.(x,y) coordinates specify the location where the context sensitive help UI will be presented. These coordinates are screen-relative (ie: (0,0) is the top left-most screen corner). The platform is responsible for calling this method and supplying the appropriate location. - Parameters:
- context- the context to display
- x- horizontal position
- y- verifical position
 
- 
displayHelpResourceDisplays help content for the help resource with the given URL.This method is called by the platform to launch the help system UI, displaying the documentation identified by the hrefparameter.The help system makes no guarantee that all the help resources can be displayed or how they are displayed. - Parameters:
- href- the URL of the help resource.- Valid href are as described in - IHelpResource.getHref()
 
- 
isContextHelpDisplayedpublic abstract boolean isContextHelpDisplayed()Returns whether the context-sensitive help window is currently being displayed.- Returns:
- trueif the context-sensitive help window is currently being displayed,- falseif not
 
 
-