[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools] Re: .035 'Next' Action in a wizard page
|
I would like to start a time consuming operation on the "Next" button
click event with involves IProgressMonitor and then show next page.
Randy_Giffen@xxxxxxx wrote:
> Ilya Rozenberg wrote:
> > On a wizard page I use to do
> > public boolean becomesInvisible(int action) {
> > if (action == IAction.NEXT){
> > This does not work anymore.
> > What should I use instead?
> It depends on what you want to accomplish.
> Button enablement can be updated by calling setPageComplete(boolean).
> Greater control over the enablement of buttons can be obtained by
> overriding
> WizardPage.canFlipToNextPage() and
> Wizard.canFinish() and
> calling getContainer().updateButtons();