Difference between revisions of "UIDesktopConstants"

From OpenKM Documentation
Jump to: navigation, search
(Created page with 'UIDesktopConstants class defines contants to be used in OpenKM extensions to identify some desktop widgets. == Example == <source lang="java"> if (NavigatorComunicator.getStack…')
 
 
Line 9: Line 9:
 
}
 
}
 
</source>
 
</source>
 +
 +
[[Category: Extension Guide]]

Latest revision as of 18:51, 8 December 2010

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");
}