Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » DND feedback and effects
DND feedback and effects [message #549800] Tue, 27 July 2010 21:43 Go to next message
Eclipse UserFriend
Hi,
I have a couple of views in my application and I have it written so I can
drag from a bunch of image labels in one view to another view.

What I want is for the cursor to show the icon being dragged. I see from
other code for SWT that I call setDragSourceEffect() with a DragSourceEffect
object that sets the event.image to an image in the dragStart method and
that should be all I need.

This does not work in RAP. Is this something that will be fixed in future?

Cheers,
Paul
Re: DND feedback and effects [message #549833 is a reply to message #549800] Wed, 28 July 2010 03:53 Go to previous messageGo to next message
Eclipse UserFriend
Paul,

general support for drag effects is hard to implement in RAP as in many
cases it would require a GC. This is why we left it out so far (apart
from support for TableItem and TreeItem effects).
Your particular use case makes sense in RAP and it seems feasible to
implement. Would you mind to file an enhancement request so that we can
look into it?

Regards,
Rüdiger

On 28.07.2010 03:43, Paul Kendall wrote:
> Hi,
> I have a couple of views in my application and I have it written so I can
> drag from a bunch of image labels in one view to another view.
>
> What I want is for the cursor to show the icon being dragged. I see from
> other code for SWT that I call setDragSourceEffect() with a DragSourceEffect
> object that sets the event.image to an image in the dragStart method and
> that should be all I need.
>
> This does not work in RAP. Is this something that will be fixed in future?
>
> Cheers,
> Paul
Re: DND feedback and effects [message #550294 is a reply to message #549833] Thu, 29 July 2010 15:39 Go to previous message
Eclipse UserFriend
Rüdiger Herrmann wrote:

> Paul,
>
> general support for drag effects is hard to implement in RAP as in many
> cases it would require a GC. This is why we left it out so far (apart
> from support for TableItem and TreeItem effects).
> Your particular use case makes sense in RAP and it seems feasible to
> implement. Would you mind to file an enhancement request so that we can
> look into it?
>
> Regards,
> Rüdiger
>

Hi Rüdiger,
https://bugs.eclipse.org/bugs/show_bug.cgi?id=321266

Thanks
Paul
Previous Topic:Auto scroll contents of SWT Browser
Next Topic:SpringFramework & RAP
Goto Forum:
  


Current Time: Mon Jul 07 18:29:18 EDT 2025

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

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

Back to the top