Difference between revisions of "DashboardHandlerExtension"

From OpenKM Documentation
Jump to: navigation, search
(Created page with 'Any extension that implements DashboardHandlerExtension will be watching all events fired from folder tab == Method == onChange(DashboardEventConstant event) == onChange(Dash…')
(No difference)

Revision as of 19:32, 13 November 2010

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