DashboardHandlerExtension

From OpenKM Documentation
Jump to: navigation, search

Any extension that implements DashboardHandlerExtension will be watching all events fired from folder tab

Method

onChange(DashboardEventConstant event)

Each time it'll be some new dashboard event the method onChange it'll be fired by OpenKM

Example

public class Example implements DashboardHandlerExtension {
 
	public Example() {
	}
 
	@Override
	public void onChange(DashboardEventConstant event) {
		if (event.equals(HasDashboardEvent.TOOLBOX_CHANGED)) {
			// Do something here
		} 
	}
}