Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Operations on Elements
You can perform a wide range of operations on element objects on a diagram, such as displaying an element's structural components, displaying or hiding its features on the diagram, and changing the element's appearance. You access these operations through the element context menu. If you are working under a technology such as SysML or BPMN, the menu can also provide options that are specific to that technology.
Element Context Menu Options on Diagrams
Option |
Action |
Shortcut |
See also |
||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
<Technology Options> |
For some technologies the context menu begins with technology-specific options. Refer to the topics on elements specific to the technology you are working in, such as BPEL, BPMN and SysML.
|
|
|
||||||||
Properties |
Open the Properties dialog for the selected element. For State Lifeline and Value Lifeline elements, display the Configure Timeline dialog. For a Required Interface element, display the Exposed Interface dialog.
|
Alt+Enter |
|||||||||
Lock Element |
Lock the element so it can't be edited; to unlock the element, select Lock Element again. This does not apply in the Corporate, Business and Software Engineering, Systems Engineering and Ultimate editions when security is enabled; in that situation, use the Lock option for model elements.
|
|
|
||||||||
Other Properties |
For State Lifeline, Value Lifeline and Required Interface elements, display the Properties dialog for the selected element.
|
Ctrl+Shift+G |
|||||||||
Feature and Compartment Visibility |
Open the Feature and Compartment Visibility dialog to define which features and feature properties to display on the element, and which element compartments.
|
Ctrl+Shift+Y |
|||||||||
Rule Composer |
For a Rule Task element, invoke the Rule Composer in Business Rule Modeling.
|
|
|||||||||
Create (or Edit) Linked Document |
(Corporate, Business and Software Engineering, Systems Engineering and Ultimate editions) Create an RTF document linked to the element.
|
Ctrl+Alt+D |
|||||||||
Delete Linked Document
|
Delete an existing linked document for the element. |
|
|||||||||
Create Document to Artifact |
(On an Artifact element linked to a Master Document or Model Document element). Generate an RTF virtual document as the linked document of the Artifact element.
|
|
|||||||||
New Element |
Attach:
|
|
|
||||||||
New Diagram |
Display a submenu, listing - in order:
|
|
|
||||||||
Features and Properties |
Select to add Attributes and/or Operations to the element, through the Attribute Properties dialog or Operation Properties dialog. For elements that can have interfaces, you can also select to show realized and/or dependent interfaces. |
|
Show Realized interfaces of Class
|
||||||||
Structural Elements |
Display the Structural Elements dialog, for managing the structural elements (such as Provided Interfaces, Ports and Activity Parameters) attached to the selected element.
|
Ctrl+Shift+B |
|||||||||
Find |
Display the Find submenu, which provides options for locating the selected element in other diagrams and in the Project Browser, and for setting up cross references (Custom References) to other elements.
|
|
|||||||||
Insert Related Elements |
Displays the Insert Related Elements dialog, to add elements related to the selected element to the current diagram.
|
|
|||||||||
Advanced |
Open the Advanced sub-menu, which provides options for performing more complex or specialized operations on the element.
|
|
|||||||||
Transform
|
Transform the selected element from one domain to another. |
Ctrl+H |
|||||||||
Generate DDL
|
Generate DDL for a Table, Procedure or View Class. |
|
|||||||||
Generate Code |
Generate source code for the selected element (forward engineer).
|
F11 |
|||||||||
Synchronize with Code |
Reverse engineer source code for the selected element. You can also synchronize Class elements from the source code via the Project Browser, 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 |
Element Options in the Project Browser Operation Menu - Project Browser
|
||||||||
View Source Code |
Open the source editor if a source code file exists for that selected element.
|
F12 |
|||||||||
Execution Analyzer |
(If the selected Class element has generated code.) Display the Execution Analyzer submenu, to prepare the Class for Execution Analysis by:
|
|
|
||||||||
Toggle whether the element is selectable or not
This option has no effect on double-click operations on the element, such as displaying child diagrams or Properties dialogs. An element on a locked diagram is also unselectable - if you click on it, the element outline displays in red. In a diagram, you can filter the display to show selectable or non-selectable elements only.
|
|
||||||||||
Align and join two elements either vertically or horizontally, on the current diagram only. Both elements must have the Dockable option selected, and must have the joining edges parallel. As the distance between the elements narrows, the moving element snaps to the edge of the other element. For Activity Partitions, the option is selected by default. Deselecting the Dockable option does not separate the elements; if necessary, you can simply move the elements apart again.
|
|
||||||||||
Appearance |
Display a short menu of options to change and reproduce the appearance of the element. |
|
|
||||||||
Z-Order |
Display a short submenu providing options to:
|
|
|||||||||
UML Help |
Display the Help topic describing the type of element you have selected.
|
|
|
||||||||
Delete <element name> |
Delete the element from the diagram. The element still exists within the model and can be accessed from the Project Browser.
|
Ctrl+D |
|
Notes
• | Context menus vary between element types; for example, the Generate Code, Synchronize with Code and View Source Code options won't display for a Use Case element |
• | If you select two or more elements at the same time, you can perform an operation on all of the selected elements at once; the operations available for multiple selection are provided on a separate context menu |
Learn more