|
|
|
|
|
Re: Defining DropTargetListener to ProjectExplorer tree [message #333348 is a reply to message #333323] |
Thu, 04 December 2008 12:24  |
Eclipse User |
|
|
|
I'm sorry, when I answered before I did not look into it as much as I
should have.
The answer is (as you suspected) that you can't register your own drop
transfer type.
Please file an enhancement request about this.
Francis
Keshavrao wrote:
> Hello Francis,
>
> We have a new TransferType which is already included in the dragsource.
> Also we have contributed our own tree in the project expoler, now our
> usecase is to drop a object from one our trees to the nodes we have
> contributed in the project explorer tree.
>
> Right now there are only three transfer types defined for the
> projectexplorer tree
> LocalSelectionTransfer.getTransfer(),
> FileTransfer.getInstance(),
> PluginTransfer.getInstance()
> Also the CommonDropAdapter#dragEnter method only checks for these three
> transfertypes.
>
> Our transertype is not one of these and so the project explorer doesnt
> allow me to drop an object on the nodes we have contributed.
>
> So i wanted to ask if there is a way i can register my TransferType with
> the explorer tree?
>
> Thanks and regards,
> Keshav Veerapaneni.
>
--
*new* Common Navigator Framework section in:
3.4RC4 Platform Plugin Developer Guide (Programmer's Guide)
http://help.eclipse.org/ganymede/topic/org.eclipse.platform. doc.isv/guide/cnf.htm
http://dev.eclipse.org/blogs/francis
http://wiki.eclipse.org/Common_Navigator_Framework
http://wiki.eclipse.org/Common_Navigator_Framework_Use_Cases
You have brains in your head.
You have feet in your shoes.
- Dr Seuss, Oh the Places You'll Go
|
|
|
Powered by
FUDForum. Page generated in 0.05726 seconds