Difference between revisions of "NavigatorComunicator"

From OpenKM Documentation
Jump to: navigation, search
Line 9: Line 9:
 
* boolean isTrashShown()
 
* boolean isTrashShown()
 
* GWTFolder getFolder()
 
* GWTFolder getFolder()
 +
* String getActualPath()
  
 
== Example ==
 
== Example ==

Revision as of 17:25, 7 January 2011

Read Methods

  • int getStackIndex()
  • boolean isTaxonomyShown()
  • boolean isCategoriesShown()
  • boolean isThesaurusShown()
  • boolean isTemplatesShown()
  • boolean isPersonalShown()
  • boolean isMailShown()
  • boolean isTrashShown()
  • GWTFolder getFolder()
  • String getActualPath()

Example

int stack = NavigatorComunicator.getStackIndex();
if (stack==0) {
  Window.alert("First stack enabled");
} else {
  Window.alert("Other stack");
}