Show TOC

Creating a Split Road MapLocate this document in the navigation structure

Context

You can split a step in your wizard road map into a series of substeps. When the administrator reaches the split step, the substeps are displayed.

A split enables you to have a complicated, multi-level road map without needing to display all the steps all the time.

Procedure


  1. In the getInitialStepsList() method, in which you defined the steps in your road map, specify a step as split by using a variant of the addStep() method on your RoadMapSteps object. Pass the parameter value true to indicate a split step.

    The following code sets the My Custom Pane step as split:

    publiccom.sap.portal.adminstudio.iroadmap.utils.RoadMapSteps getInitialStepsList( )  {
      //@@begin getInitialStepsList()
      RoadMapSteps roadMapSteps = newRoadMapSteps();
      roadMapSteps.addStep(
        wdThis.wdGetIGeneralPropertiesInterface().getStepName());
     
      roadMapSteps.addStep("My Custom Pane",true);
     
      roadMapSteps.addStep(wdThis.wdGetISummaryInterface().getStepName());
      returnroadMapSteps;
      //@@end
    }
    
                         
  2. In the getSubstepsList() , specify the substeps for each split step.

    The following creates substeps for the second step:

    publiccom.sap.portal.adminstudio.iroadmap.utils.RoadMapSteps getSubstepsList (com.sap.portal.adminstudio.iroadmap.utils.RoadMapStep roundtripStep) {
      //@@begin getSubstepsList()
     
      if(roundtripStep.getStepNumber()==2) {
        RoadMapSteps roadMapSteps = new RoadMapSteps();    
     roadMapSteps.addStep("SubStep1");
     roadMapSteps.addStep("SubStep2");
     roadMapSteps.addStep("SubStep3");    
     return roadMapSteps;              
      }
      else return null;
      //@@end
    }
    
                         
  3. Create panes (views) to be displayed for each of the substeps.

  4. In the IWizard window, do the following:

    1. Embed the substep panes.

    2. Create inbound plugs on each substep pane.

    3. Create outbound plugs for each substep pane, and connect each one with the corresponding inbound plug on the substep pane. For more information, see the Create Panes section of Creating Wizards .

    4. Update the changePane method so that each substep pane is displayed during the appropriate substep.