Grouping for function contribution
Identifier:
com.ibm.etools.emf.workbench.group
Since:
6.0
Description:
A functionGroup provides a grouping of related function that can be contributed to the tools. For example, a third party component may want to contribute actions, editor pages, edit model resources, and many other functions specific to a given product. By associating all these functions with a group id, a mechanism is exposed for users to selectively enable and disable baskets of function. Extension points that allow for a "groupID" attribute generally will hide those functions when the group id is disabled.
Configuration Markup:
<!ELEMENT extension (functionGroup+ | functionGroupPatternBinding+)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT functionGroup EMPTY>
<!ATTLIST functionGroup
functionGroupID CDATA #REQUIRED
name CDATA #REQUIRED
description CDATA #REQUIRED
icon CDATA #IMPLIED
url CDATA #IMPLIED
priority CDATA #REQUIRED
initializerClassName CDATA #REQUIRED>
Extension point definition for a group.
- functionGroupID - A unique id for the group.
- name - A human readable name.
- description - A short description of the group.
- icon -
- url -
- priority - Ordering magnitude of plugins
- initializerClassName - Class used to determine plugin enablement
<!ELEMENT functionGroupPatternBinding EMPTY>
<!ATTLIST functionGroupPatternBinding
functionGroupID CDATA #REQUIRED
pattern CDATA #REQUIRED>
This element allows one to bind function groups to patterns.
- functionGroupID - The unique identifier of the function group to bind.
- pattern - The pattern to be bound. Patterns are regular expressions which match unique identifiers.
Examples:
<extension
point="com.ibm.wtp.common.functionGroup">
<functionGroup
name="Acme Co. Function Extension"
functionGroupID="com.acme.acmepro"
description="The AcmePro Extensions add integration to the Acme Web Server."
enabledByDefault="true"
icon="..."
url="http://www.acme.com/"
/>
</extension>
API Information:
WTP Function Groups can be referenced through com.ibm.wtp.common.group.WTPFunctionGroupRegistry.