@Override public void addBranchStep( DefaultWizardStepController stepController, BranchingWizardStepController.Condition condition) { ((BranchingWizardStepController.Builder) stepControllerBuilder) .branch(stepController, condition); stepController.addSteps(stepsFlow); }
@Override public BranchingWizardStepController.Builder getDeriveFromVariableStepController( final boolean skip) { return (BranchingWizardStepController.Builder) BranchingWizardStepController.Builder.create( deriveFromVariableStep, new Skippable() { @Override public boolean skip() { return skip; } }) .title(translations.deriveFromVariableStepTitle()); }