|
|
|
|
|
|
|
Re: Filter help scope of information center [message #987004 is a reply to message #825420] |
Thu, 22 November 2012 19:14 |
Tim Raff Messages: 9 Registered: November 2012 |
Junior Member |
|
|
Yes I have an example of using AbstractHelpScope.
The TestScope.zip file contains a complete eclipse plugin project that implements a scope filter that just includes the "Basic tutorial" topic tree from the "Getting Started" top-level topic of the "Workbench User Guide" help plugin.
If you unzip TestScope.zip, and In eclipse choose File->Import...->Existing projects into workspace and choose the TestScope folder, you will see the new TestScope project in your workspace.
Open the plugin.xml file and click the green arrow to "Launch an eclipse application", then just select Help->Help Contents in the resulting test system, you will get all the standard eclipse help. If you append the scope parameter like this:
http: //127.0.0.1: <some-port>/help/index.jsp?scope=testscope
... then you will see just the "Basic tutorial" topic tree displayed.
The actual work is done in TestScope.java, and it logs to the console to show you what's going on.
Hope this helps
[Updated on: Thu, 22 November 2012 21:39] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.02765 seconds