Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Eclipse Plug-in Developer Guide
Previous Page Home Next Page

Activity Support



This extension point is used by product plug-ins to configure the behaviour of the Help system when activities are used. It provides for configuring the following aspects:

  • By default, table of contents view hides topics that belong to disabled activities. A local tool bar button allows this filter to be turned off. A subsequent message box text can be plugged in using this extension point.
  • When activity filter is turned off, topics that belong to disabled activities will have a message injected at the top warning them about the possibility that they may not see the user interface artifact mentioned in the topic in the running UI. This message can be plugged in.
  • Optionally, if the message contains a link to take the users to the UI component that provides for enabling activites, a class can be plugged in to do the work.

This extension point is experimental and is likely to change in the future releases as the activity support evolves.

Configuration Markup:

<!ELEMENT extension ( support+)>

<!ATTLIST extension





<!ELEMENT support ( localScopeCheckbox , documentMessage , showAllMessage)>

<!ATTLIST support



  • productId - a product identifier that this support should be associated with. When multiple support elements are found, the one whose productId value matches the active product id will be chosen.

<!ELEMENT showAllMessage (#PCDATA)>

a plain text message that will be shown in the dialog when activity filtering is turned off. The intent of the message is to warn that without the filter some documents may be referring to user interface elements that are not visible.

<!ELEMENT localScopeCheckbox (#PCDATA)>

a label of the checkbox in the local search scope preference page. When the checkbox is selected, search hits in documents that belong to disabled activites will be included in the search results.

<!ELEMENT documentMessage EMPTY>

<!ATTLIST documentMessage




an HTML snippet that will be injected at the top of the help topic that belongs to the disabled activity. The intent of the message is to notify the user that the topic may contain references to the UI elements that are not visible. Since the message text is inside an XML file, HTML tags must be escaped using standard XML entities for special characters.

The message may contain a hyperlink that takes the user to the activity editor that provides for changing activity enablement state. Attribute class must be used in this case.

  • class - a fully qualified name of a Java class that implements This class will be used when the document message contains a hyperlink or a button whose href value contains the substitution string ACTIVITY_EDITOR. The class should be implemented in such a way as to programmatically invoke and show a UI component (e.g. a preference page) that the product offers for changing the activity enablement state.
  • pluginId - an identifier of the plug-in in which the activity editor class resides.

The following is a sample usage of the activity support extension point:

 <extension point=
  <support productId=
        This actions will reveal all topics in the table of contents.
     <documentMessage class=
        This topic belongs to the role that is currently disabled.
        To enable the role, open &lt;a href="ACTIVITY_EDITOR"&gt;Role Preference Page.&lt;/a&gt;

Supplied Implementation:
Eclipse SDK provides the default activity support that uses the term 'capability' and and opens the Capabilities preference page from the hyperlink in disabled topics. When overriding, make sure that the changes and the terminology match those in the platform UI.

Copyright (c) 2005 IBM Corporation and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at

  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire