This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | D&D ability in the Navigator window | ||
---|---|---|---|
Product: | platform | Reporter: | dpavlica <dpavlica> |
Component: | Navigator | Assignee: | David Simonek <dsimonek> |
Status: | RESOLVED INVALID | ||
Severity: | blocker | CC: | jdinga |
Priority: | P3 | Keywords: | UI |
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 93713 |
Description
dpavlica
2006-04-10 16:46:56 UTC
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... Anyway: - 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 first response. Closing as invalid, hopefully now it's all clear. |