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.
if there are no more comments, i'll integrate the changes tomorrow
Integrated into 'main-golden', will be available in build *201104220000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: S. Aubrecht <email@example.com>
Log: #197697 - Add methods allowing to move to wizard's next/previous steps