Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 348519 - [General] Desactivation of the "cut" action in diagram
Summary: [General] Desactivation of the "cut" action in diagram
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Yann Tanguy CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-07 04:36 EDT by Yann Tanguy CLA
Modified: 2015-04-24 08:57 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yann Tanguy CLA 2011-06-07 04:36:31 EDT
The "Cut" action should be disabled in diagrams.

The reason is that this feature has not been implemented in Papyrus, and default implementation only rely on basic EMF destroy / create not adapted for multidiagram. This can lead to diagram corruption.
Comment 1 Ansgar Radermacher CLA 2013-03-14 05:38:19 EDT
I can reproduce this with Juno.  For instance, if you cut a property within a composite class (composite structure diagram), then re-paste it do the same diagram, the resulting figure behaves strange, in particular it snaps to the wrong position when moved (likely because the figure is not a proper child of the composite class any more).
Cut/Paste works for other elements though, e.g. classes or interfaces in class diagrams.
Comment 2 Ansgar Radermacher CLA 2013-03-14 08:57:57 EDT
Deactivation of the cut action is however already done in Kepler
Comment 3 Ronan Bar CLA 2014-05-22 11:49:38 EDT
Cut & Paste has been reimplemented for Luna. This should be fixed, Benoit?
Comment 4 Camille Letavernier CLA 2015-04-24 08:57:52 EDT
Copy/Cut/Paste works fine in the current version

I close this task