DashboardHandlerExtension

From OpenKM Documentation
Revision as of 13:33, 2 December 2010 by Pavila (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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
		} 
	}
}