Drag/Drop children in GridLayout [message #1625602] |
Fri, 20 February 2015 14:02 |
Kev James Messages: 22 Registered: November 2014 |
Junior Member |
|
|
Hi,
I have a GEF project I'm working on, where I need to implement drag/drop functionality to reorder the children of a Panel. This works fine with a ToolbarLayout on the figure and a FlowLayoutEditPolicy, when I have the children in one column.
Now, I want to extend the functionality where I can drag and drop in two directions - to have multiple columns as well as multiple rows, and be able to drop a child in-between two other children.
I've tried using a GridLayout (which displays fine) but there is no GridLayoutEditPolicy. I also though about using a ToolbarLayout with a specified number of columns before it wraps, but it doesn't seem to work like that..
Does anyone have an idea of how I can accomplish a drag/drop reordering with a Panel containing multiple columns?
Thanks,
Kev.
|
|
|
Powered by
FUDForum. Page generated in 0.02490 seconds