예제 #1
0
 @Override
 public void addBranchStep(
     DefaultWizardStepController stepController,
     BranchingWizardStepController.Condition condition) {
   ((BranchingWizardStepController.Builder) stepControllerBuilder)
       .branch(stepController, condition);
   stepController.addSteps(stepsFlow);
 }
예제 #2
0
 @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());
 }