Difference between revisions of "WidgetHandlerExtension"
From OpenKM Documentation
(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…') |
(No difference)
|
Revision as of 23:23, 7 July 2012
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
}
}
}