Java Source File Palette Sample - plugin detail
Illustration of MIME-based registration of palettes, which is possible from 6.0 onwards.
|
|
Versions available
|
Download size: 0.02 MB
|
Last Update: 2008-05-16
|
What's new in this version
Rewrote the indentation code so that BaseDocument is avoided. Incremented the version from 1.0 to 1.5.
Verifications for NetBeans versions
Plugin is not subject to any verification
Introduction
NetBeans module sample, specifically for 6.0. Shows how to create a palette via MIME-type registration. This is a new feature in NetBeans IDE 6.0, allowing you to create a palette in one module for an editor defined in another module. Here, the module provides a palette for Java source files.
Also see this blog entry, which shows an interesting extension to this sample, for allowing your users to create their own code snippets in your palette from code in the editor.
|
[ You have to be logged in to be able to comment. ]
User Comments
Nice
That's exactly what I was looking for to learn how to create an palette.
Posted by silveiraneto on Feb 23, 2008