Download NetBeans!

20070310 Saturday March 10, 2007

Good News for Palette Developers

The palette item DTD has been improved (issue 90212 and issue 92962) and MIME type registration of palettes is now possible (issue 90213 and issue 96798). Especially see this for implementation details for the latter two issues.

The MIME type registration of palettes is particularly interesting. And it was fixed two days ago, so this news is hot off the presses. As a result, you should now be able (in 6.0 daily builds) to create a palette for Java files. Before, that meant you'd need to create a whole new editor for Java files (as I did here), because the PaletteController had to be added to the component's Lookup. Now, however, this is no longer necessary. You can register a palette in the layer.xml file for the file type of your choosing. Can't wait to try this out but am currently on a 12 hour lay over in Bangalore, India. This particular airport is not very nice to have to spend many hours in. :-(

Mar 10 2007, 06:11:44 AM PST Permalink