Papyrus Banner

Copying Cutting Pasting in Papyrus

Introduction

Papyrus's policy is to ensure consistency between models and diagrams, so by default the cut/copy/paste functionalities act both on diagram and model elements. The Copy/Cut/Paste functionalities are available between models and diagrams but not between eclipse instances. The Cut/Paste functionalities are disable on root and read only elements.

User Interface

Model Explorer Menu

Right click on a model explorer element

Model Explorer KeyBinding

M1 is the COMMAND key on MacOS X, and the CTRL key on most other platforms.
M2 is the SHIFT key.

Diagram Menu

On a Diagram element Right Click>EDIT

Diagram KeyBinding

Preferences

Papyrus copy/paste/cut preferences is accessible on Window>Preferences>Papyrus>Paste The preference page lists all the available strategies and the checkbox to select whether the references should be kept.

List of Paste strategies

Common Strategies

Default Paste Strategy

The strategy paste all copied elements in the selected place. It is required for all other strategies.

SterotypeStrategy

The strategy reapply profiles and stereotypes on the newly copied elements.

Preferences

Rename Strategy

Diagram in model Explorer Strategy

The strategy allows copy/paste for diagrams in model explorer.

Table in model Explorer Strategy

The strategy allows copy/paste for tables in model explorer.

Uml Strategies

The following strategies will only apply on uml models

Constraint Paste Strategy

This strategy works only on uml class diagrams. It draws the constraint "context" link after a paste.

Sysml Strategies

The following strategies will only apply on sysml models

Part Paste Strategy

This strategy duplicates the linked association for each property pasted.