NavigatorComunicator
From OpenKM Documentation
Read Methods
- int getStackIndex()
- boolean isTaxonomyShown()
- boolean isCategoriesShown()
- boolean isMetadataShown()
- boolean isMetadataShown
- boolean isThesaurusShown()
- boolean isTemplatesShown()
- boolean isPersonalShown()
- boolean isMailShown()
- boolean isTrashShown()
- GWTFolder getFolder()
- String getActualPath()
- GWTFolder getRootFolder()
- GWTFolder getCategoriesRootFolder()
- GWTFolder getMetadataRootFolder()
- GWTFolder getThesaurusRootFolder()
- GWTFolder getTemplatesRootFolder()
- GWTFolder getPersonalRootFolder()
- GWTFolder getMailRootFolder()
- GWTFolder getTrashRootFolder()
Example
int stack = NavigatorComunicator.getStackIndex();
if (stack==0) {
Window.alert("First stack enabled");
} else {
Window.alert("Other stack");
}