Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Drag/Drop children in GridLayout
Drag/Drop children in GridLayout [message #1625602] Fri, 20 February 2015 14:02
Kev James is currently offline Kev JamesFriend
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.
Previous Topic:From plugin to RCP: Save/Load functionality
Next Topic:Inner and outer cicle, but not centered
Goto Forum:
  


Current Time: Sat Apr 20 00:02:38 GMT 2024

Powered by FUDForum. Page generated in 0.02490 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top