Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Drag an IJavaElement from package explorer
Drag an IJavaElement from package explorer [message #141939] Sun, 15 February 2004 16:14 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
>
>
>
Previous Topic:Running individual JUnit tests
Next Topic:New Action not responding
Goto Forum:
  


Current Time: Thu Apr 18 02:05:44 GMT 2024

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

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

Back to the top