[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.gef] Re: Drag & Drop in GEF

Article that describes D&D functionality is using methods that are deprecated. How should it be done to be done properly?
Or there is no other way of doing this just the one described in article?


Cheers, Greg

Pratik Shah wrote:
Please open a bug report.

"Sami Lakka" <sami.lakka@xxxxxx> wrote in message
news:dilq8i$4qi$1@xxxxxxxxxxxxxxxxxxx

The following code in the article :

getGraphicalViewer().addDropTargetListener(
      new FileTransferDropTargetListener(getGraphicalViewer()));should be
replaced with:

getGraphicalViewer().addDropTargetListener(
      new


FileTransferDropTargetListener(getGraphicalViewer(),FileTransfer.getInstance ()));



"Sami Lakka" <sami.lakka@xxxxxx> kirjoitti
viestissä:dij5tn$rnk$1@xxxxxxxxxxxxxxxxxxx

Hello,

I'm trying to implement D&D functionality from package explorer to my

GEF