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 - Need enhancement to Palette API so that multiple thrid party modules can add palette categories and items
Summary: Need enhancement to Palette API so that multiple thrid party modules can add ...
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Palette (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-17 02:15 UTC by _ gmpatil
Modified: 2008-12-22 10:44 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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