eclipse - WizardNewFileCreationPage order -
i'm creating export wizard, including possibility user choose format of export , choose location of export wizardnewfilecreationpage.
to so, i've created 3 pages, 1 extending wizardpage radio set next page call, , 2 others pages pending format , extending wizardnewfilecreationpage.
it's working perfectly, problem concerns "finish" button, requires clickable export format fulfilled if overrided function ispagecomplete limit page validation function validatepage.
it looks function validatepage doesn't valid it's own control control implemented class wizardnewfilecreationpage in wizard.
am going wrong somewhere , know solution ?
regards, waldo
the wizarddialog
showing dialog drives button enablement. @ various points calls updatebuttons
method. in turn calls wizard
canfinish
method set finish button state.
the default canfinish
call wizardpage
ispagecomplete
method every page pages not active.
for wizardnewfilecreationpage
ispagecomplete
method consults result of validatepage
method.
so can override wizard
canfinish
method test pages care about. or can override individual page ispagecomplete
methods return result want.
Comments
Post a Comment