[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools] Re: Another DND quesion

You can use DND.DROP_COPY instead of DND.DROP_MOVE so that the file does not
move in the file system.

For examples, see:
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-swt-home/sn
ippits/snippet78.html
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-swt-home/sn
ippits/snippet91.html
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-swt-home/sn
ippits/snippet79.html
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-swt-home/sn
ippits/snippet84.html


"av" <av@xxxxxxxxxxx> wrote in message news:b2gpb6$ev6$1@xxxxxxxxxxxxxxxx
> When I drop a resource from the navigator into my own view
> it dissapears from the workspace. How do I avoid this?
> -av
>
> "av" <av@xxxxxxxxxxx> schrieb im Newsbeitrag
> news:b2gfub$65p$1@xxxxxxxxxxxxxxxx
> > Hi, I have a view which uses a TreeViewer
> > and I would like to be able to drop resources from the Resource
Navigator
> > into my view.
> > How do I do it?
> > In particular, which Transfer class should I use?
> > Would be great if I could find an example somewhere.
> > -av
> >
> >
>
>