[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools] Re: .035 Nexy Action in a wizard page
|
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();