Prev Next

Copy Features Between Elements

As well as copying elements between Packages using a diagram, you can also copy features - attributes and/or operations - between elements in a similar way, dragging the features from an element in the 'Project' or 'Element' tabs of the Browser window and dropping them onto another element in a diagram.

Copy a single element feature

Open a diagram containing the target element. In the 'Project' or 'Element' tabs of the Browser window, click on the attribute or operation and drag it onto the element in the diagram.

In this example, the attribute Account is being dragged and copied from the Customer element on the 'Project' tab into the AccountItem element in a diagram. The process from the 'Element' tab is, visually, almost identical.

Showing an attribute being copied from one UML Class to another.

This image shows AccountItem after the attribute Account has been dropped on to it.

Showing a UML Class after an attribute has been copied to it from another class.

Notes

  • You can also select and copy multiple features at the same time; you simply press Ctrl or Shift as you select the features in the element in the 'Project' tab of the Browser window, drag them onto the diagram and drop them into the target element (you cannot copy multiple features from the 'Element' tab of the Browser)

Learn more