Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Drag and drop of Composite instances
Drag and drop of Composite instances [message #447626] Wed, 15 December 2004 15:21
hortiz Mising name is currently offline hortiz Mising nameFriend
Messages: 96
Registered: July 2009
Member
Hi,

I want to implement a specific drag and drop process and I wonder which is
the best way to do it.

In my main composite, I have a few child composites aligned vertically
representating commands to send to the server. Moreover, the order of
these commands is important.

Users should have the possibility to move / duplicate a command within
this list (stored in a List instance). So the drag source is also the drop
target.

For example, suppose the current list of commands contains 3 commands (n1,
n2 and n3), the user may want to :

- move n3 between n1 and n2,
- duplicate n2 and place it before n1

to send the following list of commands:

n2, n1, n3, n2

What kind of Transfer class should I use ?
Thanks,
Previous Topic:How to generate a pop-up window with an input text in SWT
Next Topic:Problem with ON_TOP and SHELL_TRIM
Goto Forum:
  


Current Time: Fri Apr 26 06:31:36 GMT 2024

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

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

Back to the top