WidgetHandlerExtension
From OpenKM Documentation
Revision as of 23:23, 7 July 2012 by Jllort (talk | contribs) (Created page with 'Any extension that implements WidgetHandlerExtension will be watching all events fired from widgets == Method == === onChange(WidgetEventConstant event) === Each time it'll be s…')
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.TOOLBOX_CHANGED)) {
// Do something here
}
}
}