Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 329894

Summary: Tree-based rule editor: Paste operation fails if expanded Nodes are selected
Product: [Modeling] EMFT.Henshin Reporter: Felix Rieger <riegerf>
Component: UIAssignee: Project Inbox <henshin.ui-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: henshin.ck, strueber
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Picture illustrating the bug none

Description Felix Rieger CLA 2010-11-10 08:15:09 EST
Copying and pasting Nodes in the tree-based rule editor works very unintuitively:
When Nodes with Attributes are collapsed, selecting multiple Nodes, copying and pasting them is no problem at all, as expected.
However, when Nodes with Attributes are expanded and Attributes are selected as well as Nodes (which is the case when selecting multiple Nodes as a group and not individually), pasting will not work, which is quite unexpected.

Possible solution: When pasting, paste only objects currently allowed in the hierarchy. E.g. when pasting into a RHS, paste only Nodes, Edges and Nested Conditions, discarding Attributes and other unallowed copied elements.

See attached screenshot for a visual description of the problem.
Comment 1 Felix Rieger CLA 2010-11-10 08:17:36 EST
Created attachment 182807 [details]
Picture illustrating the bug
Comment 2 Christian Krause CLA 2013-12-14 10:27:15 EST
This bug is quite old. Do we have any news on this issue?
Comment 3 Daniel Strueber CLA 2018-02-13 14:58:01 EST
A student assistant tried to fix this bug without success, it doesn't seem critical -> Let's move on.