[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[platform-help-dev] activities/capabilities to filter TOCs from the bookshelf
|
In Konrad Kolosowski reply to Effects of activities on help in M8, regarding the use of activities/capabilities to filter TOCs from the bookshelf, he says: A plugin, but typically main product plugin defines Eclipse activities as in http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/platform-ui-home/activities/activities.html
where in _expression_
identifier := plugin-identifier + "/" + local-identifier
local-identifier in help context is a name of the TOC file. For example
pattern="org\.eclipse\.platform\.doc\.isv/topics_Samples\.xml"> corresponds to examples subtree in Platform Developers Guide book. If the activity for which this pattern is defined in product plugin.xml is disabled, the topics from topic_Samples.xml are missing from the tree.
Identifiers for activity mapping are regular expressions so another example pattern="org\.eclipse\.platform\.doc\.isv.*" will match anything in this plug-in effectively filtering all TOCs from this plug-in. More elaborate expressions can be created.
I would like to use capabilities to suppress all IBM guides. Using Konrads pattern example, I was able to filter all but 3 guides: JDT Plug-in Developer Guide, Java Development User Guide, and PDE Guide.
Ive tried to use a simple pattern in the <activityPatternBinding/> tags but these do not work:
pattern="org\.eclipse\.jdt\.doc\.isv/toc\.xml"
pattern="org\.eclipse\.jdt\.doc\.user/toc\.xml"
pattern="org\.eclipse\.pde\.doc\.user/toc\.xml"
And more advanced patterns dont work either. Does anyone know why these 3 guides seem to operate differently than the others? (I believe my syntax is correct.)
Thanks in advance,
shealy
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com