Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
Bug 74737 - D&D ability in the Navigator window
D&D ability in the Navigator window
Status: RESOLVED INVALID
Product: platform
Classification: Unclassified
Component: Navigator
5.x
All All
: P3 (vote)
: 6.x
Assigned To: David Simonek
issues@platform
OSLO
: UI
Depends on:
Blocks: 93713
  Show dependency treegraph
 
Reported: 2006-04-10 16:46 UTC by dpavlica
Modified: 2008-12-22 11:51 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dpavlica 2006-04-10 16:46:56 UTC
We try to merge Outline window with the Navigator in Creator and we need 
Drag&Drop in the Navigator window for reordering items inside.
Comment 1 David Simonek 2006-04-10 17:18:40 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.  
Comment 2 dpavlica 2006-04-11 17:43:58 UTC
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?
Comment 3 David Simonek 2007-03-14 20:45:59 UTC
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.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo