Function Extension Group
Identifier:
org.eclipse.wst.common.frameworks.functionGroup
Since:
1.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>
- point - a fully qualified identifier of the target extension point
- id - an optional identifier of the extension instance
- name - an optional name of the extension instance
<!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 - Optional path to an icon image.
- url - Optional url for the function group.
- 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=
"org.eclipse.wst.common.frameworks.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>
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 http://www.eclipse.org/legal/epl-v10.html