This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
The current wizard API doesn't allow programmatic changes to wizard's state - it isn't possible to move to wizard's next step for example when user double-clicks selected item in 'new file' wizard. The proposed change just makes public four existing methods in WizardDescriptor class. The methods are currently declared 'final package private'.
Created attachment 107714 [details] proposed patch & api changes
Created attachment 107715 [details] using the new API in new file/new project wizards
Y01 write some basic tests, please. Y02 assert EventQueue.isDispatchThread() might be better than saying "is not safe to call...".
Y01: those methods are already used in WizardDescriptor unit tests, e.g. org.openide.WizardDescTest i don't think i unit test those methods in any better way. Y02: ok
if there are no more comments, i'll integrate the changes tomorrow
core-main b0b5d45bebf7
Integrated into 'main-golden', will be available in build *201104220000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/b0b5d45bebf7 User: S. Aubrecht <saubrecht@netbeans.org> Log: #197697 - Add methods allowing to move to wizard's next/previous steps