protected final void doOKAction() { int idx = getCurrentStep(); try { do { final ModuleWizardStep step = mySteps.get(idx); if (step != getCurrentStepObject()) { step.updateStep(); } if (!commitStepData(step)) { return; } step.onStepLeaving(); try { step._commit(true); } catch (CommitStepException e) { String message = e.getMessage(); if (message != null) { Messages.showErrorDialog(getCurrentStepComponent(), message); } return; } if (!isLastStep(idx)) { idx = getNextStep(idx); } else { break; } } while (true); } finally { myCurrentStep = idx; updateStep(); } super.doOKAction(); }
protected void doNextAction() { final ModuleWizardStep step = getCurrentStepObject(); if (!commitStepData(step)) { return; } step.onStepLeaving(); super.doNextAction(); }
public void doCancelAction() { final ModuleWizardStep step = getCurrentStepObject(); step.onStepLeaving(); super.doCancelAction(); }
protected void doPreviousAction() { final ModuleWizardStep step = getCurrentStepObject(); step.onStepLeaving(); super.doPreviousAction(); }