Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » Problems using Editingsupport combined with Drag and Drop
Problems using Editingsupport combined with Drag and Drop [message #662386] Wed, 30 March 2011 13:37 Go to next message
Dominik Missing name is currently offline Dominik Missing nameFriend
Messages: 7
Registered: November 2010
Junior Member
Hi,

I am using a TableViewer with Editingsupport on some columns.
When I use DND it works fine except when I start the DND on one
of my columns with Editingsupport
.
As soon, as I begin to move the mouse, the Editingsupport is started
and the DND seems to work (visually and without throwing exceptions),
but in the end the DND does not switch the selected object.

Can it be, the running Editingsupport somehow derails the DND?
What can I do to make this work?

Thanks in advance,
Dominik.
Re: Problems using Editingsupport combined with Drag and Drop [message #669469 is a reply to message #662386] Tue, 10 May 2011 12:59 Go to previous messageGo to next message
Dominik Missing name is currently offline Dominik Missing nameFriend
Messages: 7
Registered: November 2010
Junior Member
Found my problem.
The setValue-method of the Editing-Support used some
data, which the DND-Support already had moved. Embarrassed
Re: Problems using Editingsupport combined with Drag and Drop [message #721065 is a reply to message #669469] Wed, 31 August 2011 19:59 Go to previous message
McNuggets Missing name is currently offline McNuggets Missing nameFriend
Messages: 12
Registered: August 2011
Junior Member
Hello,

Can you detail a bit more how you fixed this problem, please? I'm facing it also but I don't understand how I can fix that with the setValue method.

From what I understood, the method isEditorActivationEvent() of the ColumnViewerEditorActivationStrategy is called although the button has not been released. This seems a bug to me. I wanted to return false for this method when a drag is detected or the button not released but the event we get as the parameter of this method does not contain enough information Sad

Regards,

[Updated on: Wed, 31 August 2011 20:00]

Report message to a moderator

Previous Topic:Content proposal and tab navigation
Next Topic:[Forms] Header layout problem caused by message icons
Goto Forum:
  


Current Time: Fri Nov 28 14:55:08 GMT 2014

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

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