Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » DND feedback and effects
DND feedback and effects [message #549800] Wed, 28 July 2010 01:43 Go to next message
Paul Kendall is currently offline Paul KendallFriend
Messages: 40
Registered: July 2009
Member
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 07:53 Go to previous messageGo to next message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 581
Registered: July 2009
Senior Member
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 19:39 Go to previous message
Paul Kendall is currently offline Paul KendallFriend
Messages: 40
Registered: July 2009
Member
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: Wed Feb 28 23:05:23 GMT 2024

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

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

Back to the top