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 125442

Summary: Need enhancement to Palette API so that multiple thrid party modules can add palette categories and items
Product: platform Reporter: _ gmpatil <gmpatil>
Component: PaletteAssignee: Stanislav Aubrecht <saubrecht>
Status: NEW ---    
Severity: blocker CC: sreenigv, venuv
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description _ gmpatil 2008-01-17 02:15:49 UTC
Using Palette API, a module can associate its own PaletteController to a Editor/file mime type thru 'layer.xml'. 
This will be issue if more than one module wants to display their palette categories/items for particular file type/Editor. 
Enhancement may include, predefined/standard layer folder for each Editor/File mime type with ability for other modules
to add their own PaletteFilter, PaletteActions and DragAndDropHandler instances. Editors can instantiate its own
PaletteController instead of add on modules.
Comment 1 _ gmpatil 2008-09-12 02:16:00 UTC
Alternative/workaround suggested in NB forum [1] did not work.
We are already seeing class between 2 module, one has palette items for EJB projects another only for Java SE projects.
Increasing the priority 2.



[1] http://www.nabble.com/Adding-palette-items-and-categories-to-Editor-by-other-modules-td14266691.html#a19447678