Show TOC Start of Content Area

Background documentation Customizing the Finish Pane  Locate the document in its SAP Library structure

When the administrator clicks Finish in the wizard toolbar, the Finish pane is displayed if the useFinishPane()method returns a FinishPaneController object.

If null is returned, the Finish pane is not displayed, and the wizard closes.

Finish Pane Options

By default, the following options are displayed to the administrator in the Finish pane:

      Open: Opens the newly created object. The location of the object is specified by the saveLocationParam context attribute and the object ID is specified by the objectID context attribute.

      Restart: Restarts the wizard.

      Close: Closes the wizard.

The following are the options displayed in the Finish pane:

This graphic is explained in the accompanying text

Default Finish Pane

To display the default Finish pane, create a FinishPaneControllerobject using the default constructor, and return this object in the useFinishPane()method, as follows:

publiccom.sap.portal.adminstudio.wizardfwapi.FinishPaneController useFinishPane()

{

  //@@begin useFinishPane()

  FinishPaneController finishPaneController = newFinishPaneController();

  returnfinishPaneController;

  //@@end

}

Custom Finish Pane

To customize the Finish pane, call configuration methods on the FinishPaneController object before returning it.

The following example creates a Finish pane that displays the Restart and Close options, but hides the Open option.

publiccom.sap.portal.adminstudio.wizardfwapi.FinishPaneController useFinishPane( )  {

  //@@begin useFinishPane()

  FinishPaneController finishPaneController = newFinishPaneController();

  finishPaneController.setUseOpenEditorOption(false);

  finishPaneController.setUseCloseWizardOption(true);

  finishPaneController.setUseRestartWizardOption(true);

  returnfinishPaneController;

   //@@end

}

The following are the options displayed in the Finish pane:

This graphic is explained in the accompanying text

 

 

 

 

End of Content Area