[DND] TransferDropTargetListener should not be deprecated [message #559281] |
Thu, 16 September 2010 05:16  |
Eclipse User |
|
|
|
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 18:15  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.04214 seconds