Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Paste from Project Browser
As well as creating new elements in the current diagram, you can drag existing elements (individually or as a group) from the Project Browser into the diagram. To select multiple elements, click on the element names in the Project Browser while pressing and holding:
• | Ctrl to add single items to the selection of multiple elements, or |
• | Shift to select all the elements between the first and last selected items |
When you drag an element onto a diagram from the Project Browser, the system response depends on whether you are dragging a Package element or any other type of element. For information on dragging a Package element onto a diagram, see the Paste Packages topic.
Access Drag existing element(s) onto the diagram
(If the Paste Element dialog does not display, press ( Ctrl ) while dragging the elements)
Select Paste options
Field/Button |
Detail |
See also |
||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Paste as |
Click on the drop-down arrow and select one of the paste types:
|
|
||||||||||||
Structural Elements |
If the original element has any child elements (for example, if it is a composite element or nested element, or contains embedded elements) this field contains the value Select. Either:
The resulting Object element is created large enough to display the selected child elements laid out neatly within the Object border.
|
|
||||||||||||
Copy Connectors |
This checkbox is enabled when you select to paste the copied element as an instance, property or invocation. Select the checkbox to reproduce on the diagram any connectors between the original element and any other elements that have also been pasted to this diagram, as connectors between the instances.
|
|
||||||||||||
Select for all |
(If dragging multiple elements onto the diagram at once.) Select the checkbox to apply the dialog settings to all multiple-selected elements being dragged onto the diagram, and to add the elements together. Leave the checkbox unselected to add the elements to the diagram one at a time, with the opportunity to change the dialog settings for each element.,
|
|
||||||||||||
Options |
Click on this button to display a short menu from which you can select to:
If you select the Autosave selection as default option, this deselects the Auto Instance checkbox on the Diagram > Behavior page of the Options dialog. The automatic paste operation becomes whatever you have set on the Paste dialog, and is not overridden by the paste-as-instance imposed by the Auto Instance checkbox. If you select the Use Ctrl + Mouse drag to display this dialog option, you can drag elements from the Project Browser without displaying the dialog; the paste operation complies with whatever settings you used the last time you opened the dialog. To change these settings, hold Ctrl as you drag an element, and edit the field values on the dialog.
|
|
||||||||||||
OK |
Click on this button to complete the paste operation and close the dialog.
|
|
||||||||||||
Cancel |
Click on this button to cancel the paste operation and close the dialog. If you have selected multiple elements, the first-selected element is not pasted, but the remainder are.
|
|
||||||||||||
Cancel All |
(If dragging multiple elements onto the diagram at once.) Click on this button to cancel the insertion of all the multiple-selected elements being dragged onto the diagram.
|
|
||||||||||||
Help |
Click on this button to display this Help topic.
|
|
Notes
• | Not all paste options apply to all element types; for many types, the only option available is a Link |
• | When an element dragged from the Project Browser is pasted into the diagram, its default style and size is applied rather than any alternative styles and sizes used for instances of the element in other diagrams |
Learn more