|Drag and Drop between two Trees [message #663464]
||Tue, 05 April 2011 08:26
Registered: December 2010
Hi there, I want to Drag and Drop some items between two trees.|
In the sourceTree I've got all my items. The targetTree is empty.
So I want to drag the leaves which are columns from a table into the targetTree.
So when I drop my column into the targetTree I want that my Table (the parent Node of the column) is also dragged to the targetTree.
Also the ther columns should be dragged. In the targetTree the nodes are SWT.CHECK types. So that the dragged column should be checked. The others not.
Furthermore I want also be able to drag the table so the table is checked and all columns which also should be dragged are also checked in the targetTable.
How could I achieve that when I "dnd" a column that the parent and the other columns are also drag and dropped?
Also how could I achieve that the Data is also copied to the new tree? If i get it right the the TextTransfer only allows me to transfer the text of the node is this right?
Thanks in advance.
Powered by FUDForum
. Page generated in 0.01538 seconds