Inicio del área de contenido

Documentación de función Activating Java Enhancements (IEnhancement Provider) Localizar documento en árbol de navegación

Use

You can use the IEnhancement Provider interface to activate customer-specific enhancements for CATS notebook. You can use this interface for all Java enhancements.

Activities

Define a separate class, ZEnhancementProvider. This class must implement the IEnhancementProvider interface. Add your Java enhancements to this class as demonstrated in the example.

Nota

In this example, all exemplary implementations that we deliver with CATS notebook are activated.

Example (Java Source Code)

package com.sap.mycats.basics.customer;

 

import  com.sap.mycats.customer.examples.*;

 

public class ZEnhancementProvider

  implements IEnhancementProvider

{

  public IEnhancement[] getEnhancements () {

    IEnhancement result[] = new IEnhancement[7];

    result[0] = new ZColumnModel();

    result[1] = new ZColumnModel2();

    result[2] = new ZColumnModelLongtext();

    result[3] = new ZPicklistWbs();

    result[4] = new ZSynchronizationInboundHandler();

    result[5] = new ZTimeSheetChecker();

    result[6] = new ZTimeSheetChecker2();

    return result;

  }

}

 

Fin del área de contenido