Bug 375183 - [Model Explorer] Pre-process cut/copied objects before pasting
Summary: [Model Explorer] Pre-process cut/copied objects before pasting
Status: NEW
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.10.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-23 10:02 EDT by Anne WALTER CLA
Modified: 2017-09-08 09:53 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 Anne WALTER CLA 2012-03-23 10:02:04 EDT

    
Comment 1 Anne WALTER CLA 2012-03-23 10:21:32 EDT
Before pasting elements in the Model Explorer, the list of objects to be pasted shall be pre-processed in order not to keep into the list objects that have a hierarchical relationship.

Example of issue:
- In the model explorer, have a package with several signals
- Have one of the signal with fields (signal expanded in the model explorer)
- Select the first signal
- Using the Shift key, select the last signal
=> Several signals are selected, as well as fields of signals
- Select another package and try to paste the selected signals
=> Impossible because fields cannot be pasted in a package.

If fields are removed from objects to be pasted, as part of the hierarchy of selected signals, the paste actions could be achieved as expected.
Comment 2 Camille Letavernier CLA 2013-10-16 07:14:01 EDT
Still valid in 0.10.1