WidgetHandlerExtension
From OpenKM Documentation
Any extension that implements WidgetHandlerExtension will be watching all events fired from widgets
Method
onChange(WidgetEventConstant event)
Each time it'll be some new widget event the method onChange it'll be fired by OpenKM
Example
public class Example implements WidgetHandlerExtension {
public Example() {
}
@Override
public void onChange(WidgetEventConstant event) {
if (event.equals(HasWidgetEvent.FINISH_STARTUP)) {
// Do something here
}
}
}