Please use the Apache issue tracking system for new NetBeans issues ( !!

Bug 197697

Summary: Add methods allowing to move to wizard's next/previous steps
Product: platform Reporter: Stanislav Aubrecht <saubrecht>
Component: Dialogs&WizardsAssignee: Stanislav Aubrecht <saubrecht>
Status: RESOLVED FIXED QA Contact: issues <>
Priority: P2 CC: saubrecht
Version: 7.0.1Keywords: API_REVIEW_FAST
Target Milestone: 7.0.1   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Report:
Bug Depends on:    
Bug Blocks: 55627    
Attachments: proposed patch & api changes
using the new API in new file/new project wizards

Description Stanislav Aubrecht 2011-04-13 09:34:46 UTC
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'.
Comment 1 Stanislav Aubrecht 2011-04-13 09:36:40 UTC
Created attachment 107714 [details]
proposed patch & api changes
Comment 2 Stanislav Aubrecht 2011-04-13 09:53:35 UTC
Created attachment 107715 [details]
using the new API in new file/new project wizards
Comment 3 Jaroslav Tulach 2011-04-13 12:25:43 UTC
Y01 write some basic tests, please.
Y02 assert EventQueue.isDispatchThread() might be better than saying "is not safe to call...".
Comment 4 Stanislav Aubrecht 2011-04-20 09:12:47 UTC
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
Comment 5 Stanislav Aubrecht 2011-04-20 09:13:21 UTC
if there are no more comments, i'll integrate the changes tomorrow
Comment 6 Stanislav Aubrecht 2011-04-21 09:27:05 UTC
core-main b0b5d45bebf7
Comment 7 Quality Engineering 2011-04-22 05:05:24 UTC
Integrated into 'main-golden', will be available in build *201104220000* on (upload may still be in progress)
User: S. Aubrecht <>
Log: #197697 - Add methods allowing to move to wizard's next/previous steps
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo