Drag an IJavaElement from package explorer [message #141939] |
Sun, 15 February 2004 16:14 |
Eclipse User |
|
|
|
Originally posted by: wirz.student.uni-kassel.de
Hi!
I have following problem:
I try to implement a Drag'n'Drop from the package explorer to a graphical
editor. But Eclipse opens a new java-text-editor for the selected file if
the transported object is a IJavaElement (it works with IResource's) and
ignore the handleDrop method of my drop-target-listener class.
How can I tell Eclipse to use my editor (the editor window is open as
items are transported (using dnd) from package explorer) instead of
opening a new java-editor window?
regards,
Alexander Wirz
|
|
|
Re: Drag an IJavaElement from package explorer [message #142133 is a reply to message #141939] |
Mon, 16 February 2004 08:47 |
Eclipse User |
|
|
|
Originally posted by: daniel.megert.gmx.net
Alexander Wirz wrote:
>Hi!
>I have following problem:
>I try to implement a Drag'n'Drop from the package explorer to a graphical
>editor.
>
I assume your editor is already open, right? If so, please file a bug
report against JDT UI,
Dani
> But Eclipse opens a new java-text-editor for the selected file if
>the transported object is a IJavaElement (it works with IResource's) and
>ignore the handleDrop method of my drop-target-listener class.
>How can I tell Eclipse to use my editor (the editor window is open as
>items are transported (using dnd) from package explorer) instead of
>opening a new java-editor window?
>
>regards,
>Alexander Wirz
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.01680 seconds