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.
Alternative/workaround suggested in NB forum  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.