Bug 125442 - Need enhancement to Palette API so that multiple thrid party modules can add palette categories and items
Need enhancement to Palette API so that multiple thrid party modules can add ...
Status: NEW
Product: platform
Classification: Unclassified
Component: Palette
6.x
All All
: P2 (vote)
: TBD
Assigned To: Stanislav Aubrecht
issues@platform
:
Depends on:
Blocks:
  Show dependency treegraph
 
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
:


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


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