Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » DropTargetListener version
DropTargetListener version [message #200770] Thu, 27 October 2005 09:41 Go to next message
Eclipse UserFriend
Originally posted by: wjancz.\/\/asko.pl(change \/\/ with w)

Hi. This question is especially for Randy and Pratik.
I am using GEF 3.1.
I am adding into my GraphicalViewer class a listener which accepts dropping
elements.
I extends an AbstractTransferDropTargetListener class which implements
deprecated interface TransferDropTargetListener.
I hvae noticed that Eclipse warn me about using deprecated method.

Why AbstractTransferDropTargetListener uses deprecated interface when the
deprecate reason tells:
"@deprecated use org.eclipse.jface.util.TransferDropTargetListener instead".
So why You decided not to use org.eclipse.jface.util... instead ?
Or maybe higher version of GEF fixes this ?

Anyway... :) Thank for GEF! :)

...::WojT::..
Re: DropTargetListener version [message #200806 is a reply to message #200770] Thu, 27 October 2005 15:47 Go to previous message
Eclipse UserFriend
Originally posted by: none.unknown.com

"WojT" <wjancz@\/\/asko.pl(change \/\/ with w)> wrote in message
news:djq7bj$7kf$1@news.eclipse.org...
> Hi. This question is especially for Randy and Pratik.
> I am using GEF 3.1.
> I am adding into my GraphicalViewer class a listener which accepts
dropping
> elements.
> I extends an AbstractTransferDropTargetListener class which implements
> deprecated interface TransferDropTargetListener.
> I hvae noticed that Eclipse warn me about using deprecated method.
>
> Why AbstractTransferDropTargetListener uses deprecated interface when the
> deprecate reason tells:
> "@deprecated use org.eclipse.jface.util.TransferDropTargetListener
instead".
> So why You decided not to use org.eclipse.jface.util... instead ?
> Or maybe higher version of GEF fixes this ?

For backward compatibility. ATDTL was implementing GEF's
TransferDropTargetListener before it was deprecated, and we can't just
change that now since it would break API for clients casting it to that
class.

>
> Anyway... :) Thank for GEF! :)
>
> ..::WojT::..
>
>
Previous Topic:problem with Properties
Next Topic:[ANN] Performance Results now available
Goto Forum:
  


Current Time: Thu Apr 25 04:59:36 GMT 2024

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

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

Back to the top