Next: , Previous: The VCS node, Up: Describing a VCS   [Index]


16.9.2.2 Associating actions to operations

GPS knows about a certain set of predefined “operations” that a VCS can perform. The user can decide to implement some of them - not necessarily all of them - in this section.

The following node is used to associate a predefined operation to an action:

   <OPERATION  action="ACTION_LABEL" label="NAME OF OPERATION" />

Where:

OPERATION

is the name of the predefined action. The list of predefined actions is described in Implementing VCS actions,

ACTION_LABEL

is the name of the corresponding gps Action that will be launched when GPS wants to ask the VCS to perform OPERATION,

NAME OF OPERATION

is the name that will appear in the GPS menus when working on a file under the control of the defined VCS.