Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Contents |
Prev | Next |
Operation Details
In defining the behaviors of the model elements you create, you can also define how the operations translate into methods in code. For this, you set options on the 'Method <operation name>' panel of the 'Operations' tab of the 'Features' dialog.
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 |
|
Other |
In Project Browser or in a diagram, double-click on an Operation |
Define Detailed Properties
Option |
Action |
See also |
---|---|---|
Concurrency |
Click on the drop-down arrow and select the concurrency of the operation - Sequential, Guarded or Synchronous. |
|
Virtual |
If the operation's language is set to C++, click on the drop-down arrow and map to the C++ Virtual keyword. Otherwise this option is 'Abstract'. (This option is not shown for State or StateMachine elements.) |
|
Abstract |
Pertaining to an abstract function. Click on the drop-down arrow and set to True or False. (This option is not shown for State or StateMachine elements.) |
|
Static |
Indicate whether the operation is a static member. Click on the drop-down arrow and select True or False (This option is not shown for State or StateMachine elements.) |
|
Modifiers |
Click on the button to display the 'Select Modifiers' dialog, and select the appropriate checkboxes:
virtual void myFunction() = 0;
(These options are not shown for State or StateMachine elements.) |
|
Advanced |
Click on the drop-down arrow and select True for each coding convention to assign as a Tagged Value on the operation (corresponding to a coding keyword). |
Modeling Conventions |
Learn more