DashboardHandlerExtension

From OpenKM Documentation
Revision as of 19:32, 13 November 2010 by Jllort (talk | contribs) (Created page with 'Any extension that implements DashboardHandlerExtension will be watching all events fired from folder tab == Method == onChange(DashboardEventConstant event) == onChange(Dash…')

(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)


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
		} 
	}
}