X

Geertjan's Blog

  • April 18, 2014

org.netbeans.spi.palette.PaletteItemRegistration

Geertjan Wielenga
Product Manager

With APIs from NetBeans IDE 8.0, there's the new annotations @PaletteItemRegistration and @PaletteItemRegistrations for registering items in a palette:

As you can see, you use the annotations in the package-info.java class, which you can create by using the template Java | Java Package Info in the New File dialog.

References:

http://bits.netbeans.org/dev/javadoc/org-netbeans-spi-palette/org/netbeans/spi/palette/PaletteItemRegistrations.html

http://bits.netbeans.org/dev/javadoc/org-netbeans-spi-palette/org/netbeans/spi/palette/PaletteItemRegistration.html

Therefore, will need to update this tutorial with the new annotations:

https://platform.netbeans.org/tutorials/nbm-palette-api1.html

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.