You can use the IEnhancement Provider interface to activate customer-specific enhancements for CATS notebook. You can use this interface for all Java enhancements.
Define a separate class, ZEnhancementProvider. This class must implement the IEnhancementProvider interface. Add your Java enhancements to this class as demonstrated in the example.
In this example, all exemplary implementations that we deliver with CATS notebook are activated.
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;
}
}