Show TOC Start of Content Area

Procedure documentation Creating a Split Road Map  Locate the document in its SAP Library structure

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-tiered road map without needing 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 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:

public com.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:

                            a.      Embed the substep panes.

                            b.      Create inbound plugs on each substep pane.

                            c.      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.

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

End of Content Area