Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » gridtableviewer and drag and drop(problem to make drag and drop work with gridtableviewer)
gridtableviewer and drag and drop [message #753551] Thu, 27 October 2011 16:20 Go to next message
fran81 Missing name is currently offline fran81 Missing nameFriend
Messages: 27
Registered: November 2010
Junior Member
Hello,

I am trying to understand if drag and drop is supported with a GridTableViewer.

I have a system for drag and drop that works for a TableViewer

this.tableViewer = new TableViewer(parent, SWT.FULL_SELECTION | SWT.H_SCROLL
| SWT.V_SCROLL | SWT.BORDER | SWT.VIRTUAL);

but it will not run with a GridTableViewer
this.viewer = new GridTableViewer(this.parent, SWT.H_SCROLL | SWT.V_SCROLL |
SWT.FULL_SELECTION );

Is there something that I should consider to make it work?

Thank you,
Francesca
Re: gridtableviewer and drag and drop [message #835919 is a reply to message #753551] Tue, 03 April 2012 21:12 Go to previous messageGo to next message
Lawrence Magiera is currently offline Lawrence MagieraFriend
Messages: 1
Registered: April 2012
Junior Member
Francesca,

Did you figure this out? I'm trying to do it also.

I have:

this.gridTreeViewer.addDropSupport(operations, transferTypes, new DropListener(editingDomain, this.gridTreeViewer));

My DropListener class extends EditingDomainViewerDropAdapter but the drop method is never invoked.

I would greatly appreciate any pointers.

Thank your,
Larry

Re: gridtableviewer and drag and drop [message #835978 is a reply to message #835919] Tue, 03 April 2012 23:10 Go to previous message
fran81 Missing name is currently offline fran81 Missing nameFriend
Messages: 27
Registered: November 2010
Junior Member
Eventually I gave up... really don't know if this is supported.
Previous Topic:Nebula xviewer column resize problem
Next Topic:GanttChart bug in Y calcul for Events in some configuration
Goto Forum:
  


Current Time: Fri Apr 19 04:47:48 GMT 2024

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

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

Back to the top