Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Add drag and drop on a TableViewer
Add drag and drop on a TableViewer [message #458919] Tue, 26 July 2005 13:37
Vincent Etter is currently offline Vincent EtterFriend
Messages: 72
Registered: July 2009
Hi !

I have a TableViewer, filled with some custom objects. I want to enable
drag and drop on the items so that the user can choose some of them and
put them in another table.

I've had a look at the two articles on and I
have built my own transfer type to transfer my objects. The problem now
is that I don't know how to tell the TableViewer to enable drag&drop on
its items.

Do I have do to it globally (tableViewer.addDragSupport()) ? In that
case, how can I access the tableItem in the dragSetData() method ? Or do
I have to put all those things in my contentProvider ?

Thanks for help...

Previous Topic:DatePickerCombo as CellEditor
Next Topic:Scrolling composite
Goto Forum:

Current Time: Sat Oct 31 01:33:52 GMT 2020

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

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

Back to the top