corner imagecorner image
IDEPlatformPluginsDocs & SupportCommunityPartners

Java Source File Palette Sample - plugin detail

Illustration of MIME-based registration of palettes, which is possible from 6.0 onwards.

NetBeans Plugin - Java Source File Palette Sample
Plugin owner: geertjan
Website: http://blogs.sun.com/geertjan/entry/sample_for_registering_palettes_in
Added: 2007-06-04
Last updated: 2008-05-16
NetBeans Versions: 6.0
License: CDDL
Category:
Size: 0.02 MB
Downloaded: 3,617 times
Rating:
 4.03, by 3 users


Download plugin

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.



What's new in this version

Rewrote the indentation code so that BaseDocument is avoided. Incremented the version from 1.0 to 1.5.

[ 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