Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » DND support for Custom control
DND support for Custom control [message #441691] Fri, 20 August 2004 09:33 Go to next message
Robert Bacs is currently offline Robert BacsFriend
Messages: 165
Registered: July 2009
Senior Member
Hi,

How could add Drag&Drop support for a custom control ?
I have a custom table control, on dragOver event I specify
DND.FEEDBACK_SCROLL | DND.FEEDBACK_SELECT but nothing happens. For
DND.FEEDBACK_SCROLL in the javadoc says that "The widget is scrolled up or
down to allow the user to drop on items that are not currently visible".
What do I need to implement in my custom control ?

Another question: why is not applicable DND.FEEDBACK_SCROLL for a list
control too ?

Best regards,
Boby
Re: DND support for Custom control [message #441821 is a reply to message #441691] Wed, 25 August 2004 19:08 Go to previous message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
Currently there is no story for how widgets can add response to drag under
effects in DND. It is one of the things I am hoping to address in 3.1.
All widgets, including List, will be reviewed and given appropriate drag
under effect behaviour at that time.

"Robert Bacs" <boby@zerosoft.ro> wrote in message
news:cg4gbc$anf$1@eclipse.org...
> Hi,
>
> How could add Drag&Drop support for a custom control ?
> I have a custom table control, on dragOver event I specify
> DND.FEEDBACK_SCROLL | DND.FEEDBACK_SELECT but nothing happens. For
> DND.FEEDBACK_SCROLL in the javadoc says that "The widget is scrolled up or
> down to allow the user to drop on items that are not currently visible".
> What do I need to implement in my custom control ?
>
> Another question: why is not applicable DND.FEEDBACK_SCROLL for a list
> control too ?
>
> Best regards,
> Boby
>
>
Previous Topic:Avoid "Smart' minimize on PPC
Next Topic:Images in a table?
Goto Forum:
  


Current Time: Fri Apr 26 15:04:33 GMT 2024

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

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

Back to the top