We try to merge Outline window with the Navigator in Creator and we need
Drag&Drop in the Navigator window for reordering items inside.
DnD *is enabled* in navigator. All navigator panels are regular AWT and Swing
components. So DnD works exactly the same way as in other AWT or Swing app/demo.
This means that guys in Creator will be able to activate DnD on their navigator
panel using standard DnD programming, explained in JDK javadoc of awt.dnd
package. There is no need for special support, AFAIK.
Please reopen with more details if I got smt wrong, thanks.
I know, but it seems logical to have it consistent in the Navigator in Netbeans too.
I remember it was implemented there at the start and then the "reordering ability by D&D" was removed.
Might I ask what was the reason for removing it?
This is misunderstanding, we are talking about different things...
- D&D for reordering in *java source* navigation is wrong idea, because methods
and fields are not sorted in navigator tree like in the source itself. So
dragging will produce undefined and unacceptable results.
- D&D in "Outline" view or any other view from visual web component is possible,
and must be implemented directly by the Outline component, as described in my
Closing as invalid, hopefully now it's all clear.