New Java Type Wizards Module uploded
I have uploaded the New Java Type Wizards Module to my NetBeans update center described (here).
Features
This module add two wizards to the New File wizards:
- Custom Class Wizard
- Custom Interface Wizard
- Browse and select classes to extend
- Browse and select interfaces to extend/implement
- Generate simple implementation of abstract methods
- Generate
public static void main(String[] args){} (in a Class only)
- Generate simple Javadoc (not shown in the demo)
Flash Demo
How to use
After installing the module use the New Files/Folder:Java Classes:Custom Class and Custom Interface to create classes and interface respectively.
Initially I developed this module on NB5.5Beta. Now I have back ported it to run on NB5.0.
TODO:
- Load the classes asynchronously in Browse... dialogs.
- Custom Enum Wizard.
- Custom Annotation Wizard.
- Handle generic methods while overriding.
DISCLAIMER: This module is experimental. So no guarantees. Use the module at your own risk.
Posted by sandipchitale
( Jun 03 2006, 08:26:12 PM PDT ) Permalink
Trackback URL: http://blogs.sun.com/scblog/entry/new_java_type_wizards_module
Posted by Surya on June 03, 2006 at 10:56 PM PDT #
Posted by Alex Lam on June 04, 2006 at 04:13 AM PDT #
Posted by Sandip on June 04, 2006 at 07:31 AM PDT #
public class A { public int m0() { ... } public void m1(String a0) { ... } } public class Delegate_A extends A { private final A instance; public Delegate_A(A instance) { this.instance = instance; } public A getInstance() { return instance; } @Override public int m0() { return instance.m0(); } @Override public void m1(String a0) { instance.m1(a0); } }Posted by Alex Lam on June 04, 2006 at 08:29 AM PDT #
Posted by Sandip on June 04, 2006 at 09:00 AM PDT #
Posted by Jake on June 07, 2006 at 06:36 AM PDT #
Posted by Sandip on June 07, 2006 at 07:18 AM PDT #
Posted by Sandip on June 07, 2006 at 11:07 PM PDT #