Topics
Prev Next

Operation or Attribute Menu - Project Browser

The separate but identical Operation and Attribute context menus in the Project Browser provide options for performing a number of tasks on the features (operations and attributes) of an element.

Access

Context Menu

Project Browser | Right-click on Feature

Options

Option

Action

See also

Extensions

Select this option to access a submenu of enabled Technologies on the system (for example, ArcGIS or TOGAF), each of which provides options for performing technology-specific tasks on the feature.

This option is available in the Professional, Corporate and Extended editions of  Enterprise Architect.

Geodatabase Design for ArcGIS

Scripts

Select this option to list the scripts enabled for execution directly from the Project Browser.

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

Click on a script name to run that script.

Script Group Properties

Executable StateMachine

(For attributes.) Select this option to access a submenu of options for treating the attribute like an Executable StateMachine Artifact and generating code from it.

Code Generation - State Machines

Generate Code

Select this option to generate code from the feature, within its parent Class.

The 'Generate Code' dialog displays.

Shortcut: F11

Generate a Single Class

Synchronize With Code

Select this option to synchronize the feature with its 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.

Shortcut: F7

Update Package Contents Element Options in the Project Browser Import Source Code

View Source Code  

Select this option to open the Source Code Viewer and display the code for the feature.

Shortcut: F12

Editing Source Code

Operation Properties / Attribute Properties

Select this option to display the 'Features' dialog for the feature, to view and edit the properties of the features in the parent element.

(There are separate pages for operations and attributes.)

Define Properties of Operations Create and Manage Attributes

Find in all Diagrams

(For Operations.) Select this option to locate any elements derived from the operation in any diagram in the models.

Shortcut: Ctrl+U

Show Element Use

Delete Attribute

Select this option to delete the attribute.

The attribute is immediately removed from the element.

Copy Reference

Select this option to copy a reference to the feature to the Enterprise Architect clipboard.

Select the appropriate sub-option to copy the:

  • Selected hierarchy structure (node path)
  • Node GUID

Cut

Select this option to cut the feature from its current element and paste it into another element. The feature does not move from the original element until you paste it into the target.

Use the element 'Copy/Paste | Paste' menu option to paste the feature into its new parent.

Element Copy/Paste Submenu

Paste

Not used.

Delete Operation

Select this option to delete the operation.

The operation is immediately removed from the element.

Help

Select this option to display the Help topic for the Project Browser.