UIDesktopConstants
From OpenKM Documentation
UIDesktopConstants class defines contants to be used in OpenKM extensions to identify some desktop widgets.
Example
if (NavigatorComunicator.getStackIndex()==UIDesktopConstants.NAVIGATOR_TAXONOMY) {
Window.alert("Taxonomy selected");
} else {
Window.alert("Other navigator panel selected");
}