code: private void showStep(int index) {
  		if (index >= 0 && index < wizardSteps.size()) {
  			currentStep = wizardSteps.get(index);
  			// only show current step
  			for (WizardStepView view : wizardSteps) {
  				view.getWidget().setVisible(currentStep == view);
  			}
  			controllerButtonsWindow.setSubTitle(currentStep.getTitle());
  			controllerButtonsWindow.setPreviousButtonEnabled(index > 0);
  			controllerButtonsWindow.setNextButtonEnabled(index + 1 < wizardSteps.size());
  			controllerButtonsWindow.setWarningLabelText(null, false);
  
  			//only allow save on last step
  			controllerButtonsWindow.setSaveButtonEnabled(index + 1 == wizardSteps.size());
  			logger.info("Client WMS layer wizard, current step "
  					+ (currentStep != null ? currentStep.getClass().toString() : "none"));
  		} else {
  			hideAndCleanWindow();
  		}
  	}
docs: /* private methods