Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » [DND] TransferDropTargetListener should not be deprecated
[DND] TransferDropTargetListener should not be deprecated [message #559281] Thu, 16 September 2010 09:16 Go to next message
Christophe Fondacci is currently offline Christophe FondacciFriend
Messages: 95
Registered: July 2009
Location: Paris
Member
Hello all,

I am using GEF 3.5.2 and working with drag / drop connection with LocalSelectionTransfer.

I would like to point out that the class org.eclipse.gef.dnd.TransferDropTargetListener is flagged as deprecated and the javadoc says :
@deprecated use org.eclipse.jface.util.TransferDropTargetListener instead


But this is not true, as using the JFace interface does not work at all. Even if the GEF interface is empty, I suspect that there are still references to the GEF interface in the GEF code because using the JFace interface does not work at all.

Would it be possible to :
* Either make sure that the JFace interface is handled properly in GEF
* Remove the deprecated tag if there is no time to fix this as it is very confusing for implementors that we should still use the deprecated interface.

Should I file a bug for this or is it a known bug (couldn't find it).

Thank you,
Christophe
http://www.nextep-softwares.com
Re: [DND] TransferDropTargetListener should not be deprecated [message #615744 is a reply to message #559281] Tue, 21 September 2010 22:15 Go to previous message
h1055071 is currently offline h1055071Friend
Messages: 335
Registered: July 2009
Senior Member
On 16/09/2010 10:17, Christophe Fondacci wrote:
> Hello all,
>
> I am using GEF 3.5.2 and working with drag / drop connection with
> LocalSelectionTransfer.
> I would like to point out that the class
> org.eclipse.gef.dnd.TransferDropTargetListener is flagged as deprecated
> and the javadoc says :
>
> @deprecated use org.eclipse.jface.util.TransferDropTargetListener instead
>
>
> But this is not true, as using the JFace interface does not work at all.
> Even if the GEF interface is empty, I suspect that there are still
> references to the GEF interface in the GEF code because using the JFace
> interface does not work at all.
>
> Would it be possible to :
> * Either make sure that the JFace interface is handled properly in GEF
> * Remove the deprecated tag if there is no time to fix this as it is
> very confusing for implementors that we should still use the deprecated
> interface.
>
> Should I file a bug for this or is it a known bug (couldn't find it).
>
> Thank you,
> Christophe
> http://www.nextep-softwares.com
>

Use org.eclipse.gef.dnd.AbstractTransferDropTargetListener
Previous Topic:Zoom funtion in a View?
Next Topic:Rotate Layer
Goto Forum:
  


Current Time: Thu Apr 25 05:31:49 GMT 2024

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

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

Back to the top