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 51660

Summary: Add Librabry/.... should be context sensitive
Product: platform Reporter: Ann Sunhachawee <asunhachawee>
Component: PaletteAssignee: Stanislav Aubrecht <saubrecht>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Ann Sunhachawee 2004-11-18 18:42:41 UTC
Using 4.0beta 2

Launch Tools - Palette Manager

I'm surprised that this dialog is not as context
sensitive as other dialogs, such as the Library
Manager or Java Platform Manager. I'd expect that
selecting a palette, e.g. Swing, and then clicking
on Add Library.. would at least keep the context
that I want to add to the Swing palette, instead
of having to ask me again at the end of the
wizard. "choose the palette category where to add
the components"

Also, it will be good to offer the palette manager
dialog from a context menu of the Palette window
itself.
Comment 1 Tomas Pavek 2005-05-13 15:49:43 UTC
I agree with this. It should be doable relatively simply.
Comment 2 Jan Stola 2005-10-06 14:43:09 UTC
The tree with the palette categorie is created by core/palette module,
but the Add Library ... action is provided by form module. I doubt
there is an API that allows the form module (or other clients of
core/palette) to determine selected category in the tree.
Reassigning to core/palette for evaluation.
Comment 3 Stanislav Aubrecht 2005-10-06 15:01:01 UTC
the latest netbeans builds (4.2/5.0) have 'palette customizer' in palette's
context menu.

preselecting a category in the customizer should be simple enough indeed.

(increasing priority to P3 so that it doesn't get lost at the bottom of my list:)
Comment 4 Marian Mirilovic 2006-08-11 08:48:35 UTC
Ad 2. it's implemented ...