Operation Menu - Project Browser

To display the Operation (or Method) context menu, right-click on an Operation in the Project Browser.

Action

Usage

Shortcut

See also

Scripts

List the scripts enabled for execution directly from the Project Browser.

(This option does not display if no Project Browser scripts exist.)

 

 

Script Group Properties

Generate Code

Generate code for the operation.

 

F11

 

Synchronize With Code

Synchronize the operation with the code.

You can also synchronize Class elements from the source code on a diagram, and reverse engineer or forward engineer model packages and code to synchronize them and incorporate changes made in one but not in the other.

F7

Import Source Code

Element Options in the Project Browser

Update Package Contents

 

View Source Code

Open the Source Code Viewer and display the operation.

 

F12

Editing Source Code

Operation Properties

Display the Properties dialog for the operation.

 

 

 

Copy Reference

Copy a reference to the operation to the Enterprise Architect clipboard.

Select the appropriate sub-option to copy the:

Selected hierarchy structure (node path)
Node GUID

 

 

 

Delete Operation

Delete the operation.

 

 

 

Help

Display the Help topic for the Project Browser.

 

 

 

Notes

You can display an equivalent context menu for an attribute by right-clicking on the attribute in the Project Browser