Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Contents
Prev Next

Operations

Operations are features of a Class or other element that represent the behavior or services an element supports. For a Customer Class, UpdateCustomerName and GetCustomerAddress can be operations. Operations have several important characteristics, such as type, scope (visibility), static, abstract and notes.

Access

Ribbon

Design > Element > Operations

Context Menu

Right-click element in diagram | Features and Properties | Operations  or

Right-click element in Project Browser | Operations  or

Right-click operation in Project Browser | Operation Properties

Keyboard Shortcuts

F10

Other

In Project Browser, double-click on an Operation

Create and Modify Operations

You create and modify the operations of an element on the 'Operations' tab of the 'Features' dialog. This tab itself contains panels and tabs that you can use to completely define the operations you need for an element.

Appearance on diagram

In diagrams, elements with operations (typically Classes) list the operations in the second properties compartment, in colored text, as shown.

The default text color is dark green, as in the example. Some characteristics modify the display; for example, static operations display underlined, whilst abstract operations are italicized.

Appearance in Project Browser

In the Project Browser, operations are listed underneath their parent element name, each preceded by a pink box ().

Notes

  • If the parent element provides source or target roles for a connector, the connector can be attached to a specific operation
  • You can also drag, copy or move existing operations between elements; this facility is only available if the target element supports operations

Learn more