Community
Participate
Working Groups
Currently the help webapp displays tabs for contents, search, index and bookmarks. An IBM team has a contribution which I will attach which allows additional views to be created.
Created attachment 143965 [details] Patch to create extension point for extra views
*** Bug 107672 has been marked as a duplicate of this bug. ***
Created attachment 145596 [details] Patch, August 25 2009 The original patch did not handle all the cases it needed to. In particular the name of the tab cannot be a static attribute in the extension point because it needs to be translatable into different languages. The solution to this is to define the extension point in terms of a class (AbstractView) which contains methods to get the different presentations. Because AbstractView class is an API class it needs to be in a non-internal package and the use of AbstractView has required the jsp files which deal with views to reference AbstractView instead of View. Additionally I have made some modifications so that a different presentation can be used in the Basic/Advanced modes. Other changes I have made are: 1. Change the extension point name from "tab" to "view" to be consistent with existing terminology. 2. Modify the image handling code to not insert an 'e' character in the image path. 3. Remove the preference "infocenterContext" which the previous patch added. There may be more methods we want to add to AbstractView. It may be useful to add a test for enablement. There are two other strings which are localized for existing tabs, these are the frame titles for the View and the ViewToolbar. These do not appear to be user visible but may be readable by a screenreader.
Created attachment 145601 [details] Test bundle This bundle works with the previous patch.
Created attachment 146699 [details] Patch as committed I added isEnabled functions for both the basic and advanced presentations.
Created attachment 146700 [details] Changes to org.eclipse.ua.tests I thought it was important to test this feature using a realistic example so I created an extra view in org.eclipse.ua.tests. This view allows for searching of text in topic titles.
Changes committed to HEAD, fixed.
Verified in N20091012-2000.