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.

Bug 50288 - Main toolbar customization using full DnD
Summary: Main toolbar customization using full DnD
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 4.x
Hardware: PC All
: P4 blocker (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks: 32233
  Show dependency tree
 
Reported: 2004-10-12 16:31 UTC by David Simonek
Modified: 2008-12-22 16:48 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Simonek 2004-10-12 16:31:54 UTC
- DnD of icons in toolbar changes order and
category  move, remove now useless Move up, Move
down actions from tree in options

- DnD from Actions tree into live toolbar means
adding items

- hiding items from toolbar through context menu,
maybe inserting separators in context menu too

In the end, all toolbar subtree in options should
be removed, changes mentioned above should make it
useless.
Comment 1 _ tboudreau 2004-10-12 17:29:11 UTC
FWIW, dragging items between toolbars is already implemented in issue 22172 (does not 
support reordering within a toolbar).  IMO, kill the entire Customize Toolbars dialog (well, 
maybe keep it for accessibility - toolbar contents are not focusable) - everything it does 
should be doable with drag and drop and context menus in the UI.

Things to think about:  
 - A better solution for Shortcut to Target - should really be possible to just drag an Ant 
task node and drop it on a toolbar (see contrib/targets for an example + icon handling).  
contrib/targets solves this by a special drop-target presenter, but that's a bit confusing, 
since it will only work for one special toolbar.  Better would be allowing modules to 
register some kind of handler that will generate a toolbar button (menu item - allow drop 
to menus as well?) - the Ant module actually generates a small XML file for its targets.
Comment 2 David Simonek 2005-05-09 12:27:45 UTC
Done AFAIK, passing to Standa, who implemented this - I think could be closed as
fixed.
Comment 3 Stanislav Aubrecht 2005-05-09 14:49:03 UTC
toolbar drag'n'drop works only for moving existing actions between existing
toolbars.
new toolbar actions must be added/removed via tools/options. there's not dnd
support in the options toolbar tree.
Comment 4 Stanislav Aubrecht 2005-08-23 11:40:56 UTC
already implemented in the new toolbar customizer