Difference between revisions of "NavigatorHandlerExtension"

From OpenKM Documentation
Jump to: navigation, search
(Created page with 'Any extension that implements NavigatorHandlerExtension will be watching all events fired from navigator stack panel == Method == onChange(NavigatorEventConstant event) == onC…')
 
Line 19: Line 19:
 
}
 
}
 
</source>
 
</source>
 +
 +
[[Category: OpenKM plugin extensions]]

Revision as of 16:21, 8 June 2010

Any extension that implements NavigatorHandlerExtension will be watching all events fired from navigator stack panel

Method

onChange(NavigatorEventConstant event)


onChange(NavigatorEventConstant event)

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


Example

public class HandlersTest implements NavigatorHandlerExtension {

	@Override
	public void onChange(NavigatorEventConstant event) {
		Window.alert("navigator event fired");
	}
}