Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 329894 - Tree-based rule editor: Paste operation fails if expanded Nodes are selected
Summary: Tree-based rule editor: Paste operation fails if expanded Nodes are selected
Status: CLOSED WONTFIX
Alias: None
Product: EMFT.Henshin
Classification: Modeling
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-10 08:15 EST by Felix Rieger CLA
Modified: 2018-02-13 14:58 EST (History)
2 users (show)

See Also:


Attachments
Picture illustrating the bug (9.84 KB, image/png)
2010-11-10 08:17 EST, Felix Rieger CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.