Show TOC

 Extension of User InterfaceLocate this document in the navigation structure

Use

You can extend the KM flexible user interface using your own Java classes.

You do not need to rebuild the flexible user interface from scratch if you want to implement extensions for special purposes. Instead, you write the extensions that you need. You can reuse elements delivered by SAP when doing this. For example, you can write a new interface command for your own function, and integrate this command into the standard interface.

You write your extensions in your own Java classes, without modifying the Java classes delivered by SAP. You can use the configuration to integrate your Java classes into the user interface. This procedure has the advantage that your extensions are retained when you upgrade to a higher release.

Prerequisites

You have to provide Java classes that use the Application Programming Interface (API) of the user interface.

Note

The technical documentation on the API is located in the Javadoc. For more information, see Developer Information .

Features
Note

Before you begin developing your own Java classes, check whether your requirements can be met by configuration or using parameters of the user interface. The elements of the Explorer interface are particularly easy to modify using parameters.

Explorer Interface

You can implement the following elements of the Explorer interface with your own Java classes:

  • Resource renderers
  • Collection renderers
  • Components
  • Controls for layout profile plug-ins
  • Layout controllers

    You can use the SAP class com.sapportals.wcm.rendering.layout.AbstractLayoutComposer to derive your own layout controllers.

To integrate the above in your system, enter the relevant Java class (using an alias) and a description into the configuration (see Integrating and Mapping Java Classes ).

Details Dialog Box

You can develop your own classes for the depiction of properties and overviews in the Details dialog box (see Properties in the Details Dialog Box and Overview in the Details Dialog Box ).

Interface Commands and Menus

You can integrate your own interface commands into the existing user interface by specifying Java classes that implement your interface commands in the configuration (see Commands and Command Groups ).

You can also affect the depiction of interface commands and command groups by implementing Java classes for your own menus (see Menus ).