Bug 104331 - Eclipse 3.1: Support for Dynamic Help
Summary: Eclipse 3.1: Support for Dynamic Help
Status: RESOLVED FIXED
Alias: None
Product: AJDT
Classification: Tools
Component: UI (show other bugs)
Version: 1.3.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 1.3.0   Edit
Assignee: Sian January CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-19 06:08 EDT by Matt Chapman CLA
Modified: 2005-07-28 04:17 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Chapman CLA 2005-07-19 06:08:27 EDT
In Eclipse 3.1 you can select Help > Dynamic Help, and a new view is shown which
displays information about the currently selected view. We need to provide the
appropriate information to populate this for every view that AJDT contributes.
Comment 1 Sian January CLA 2005-07-28 04:17:16 EDT
Done.

Notes:
To add dynamic help support for a view or an editor you need to do the 
following:
- Override getAdapter(..) on the view class and provide an adapter for 
IContextProvider 
- Add a selection provider to the view site (e.g. in the createPartControl 
method add a call to getSite().setSelectionProvider(..).
- Contribute a contexts xml file via the org.eclipse.help.contexts extension 
point in your plugin.xml
- Declare the context ID for the view as a public static field.

For more information look at any of the existing AJDT views and the classes 
AspectJUIHelp and IAJHelpContextIds.