Bug 60786 [Wizards] [Javadoc] Review of org.eclipse.jface.wizard
This package is very clean and well written. ProgressMonitorPart: - clearBlocked() is undocumented. - setBlocked() is undocumented. - setTaskName() is undocumented. WizardDialog: - close() is undocumented.
bundles/org.eclipse.jface/src/org/eclipse/jface/wizard/WizardDialog.java
protected void update() {
		
		updateWindowTitle();
		
		updateTitleBar();
		
		updateButtons();
	}
	/* (non-Javadoc)
	 * Method declared on IWizardContainer.
	 */
	public void updateButtons() {
		boolean canFlipToNextPage = false;
		boolean canFinish = wizard.canFinish();
		if (backButton != null)
			backButton.setEnabled(currentPage.getPreviousPage() != null);
		if (nextButton != null) {
			canFlipToNextPage = currentPage.canFlipToNextPage();
			nextButton.setEnabled(canFlipToNextPage);
		}
		finishButton.setEnabled(canFinish);
		
		if (canFlipToNextPage && !canFinish)
			getShell().setDefaultButton(nextButton);
		else
			getShell().setDefaultButton(finishButton);
	}
	/**
	 * Update the message line with the page's description.
	 * <p>