<!ELEMENT extension ((masterOperation | slaveOperation))>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT masterOperation (selectionEnablement)>
<!ATTLIST masterOperation
extendedGenericId CDATA #REQUIRED
operationClass CDATA #IMPLIED
name CDATA #REQUIRED
description CDATA #IMPLIED
populatorClass CDATA #REQUIRED
alwaysExecute (true | false)
overrideId CDATA #IMPLIED
id CDATA #IMPLIED>
A masterOperation enables an existing WTP Operation to be used in a UI action. Generic Ids aggregate a set of masterOperations for the same Abstract action (like a "CUT" operation). WTP Operations are themselves extendible, so for any masterOperation defined, there may be any number of pre|post operations. These pre|post operation can have slaveOperation elements defined which indicate the pre|post operation may be run independently.
<!ELEMENT selectionEnablement (objectClass | or)>
The selectionEnablement element allows you to filter which kinds of selection your object is applicable to using Standard Eclipse Action Expresions.
<!ELEMENT slaveOperation EMPTY>
<!ATTLIST slaveOperation
operationClass CDATA #REQUIRED
name CDATA #REQUIRED
description CDATA #IMPLIED>
The slaveOperation element defines display information for operations which extend a declared master operation. If a pre|post operation of a master does not have a corresponding slaveOperation element, then the pre|post operation will be consider required, and not be displayed to the user.
<!ELEMENT or (objectClass | and | objectState)>
<!ELEMENT objectClass EMPTY>
<!ATTLIST objectClass
name CDATA #IMPLIED
adaptable CDATA #IMPLIED>
<!ELEMENT and (objectClass | or)>
<!ELEMENT objectState EMPTY>
<!ATTLIST objectState
value CDATA #IMPLIED
name CDATA #IMPLIED>
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