Difference between revisions of "NavigatorComunicator"

From OpenKM Documentation
Jump to: navigation, search
Line 1: Line 1:
 
== Read Methods ==
 
== Read Methods ==
int getStackIndex()
+
int getStackIndex()
boolean isTaxonomyShown()
+
boolean isTaxonomyShown()
boolean isCategoriesShown()
+
boolean isCategoriesShown()
boolean isThesaurusShown()
+
boolean isThesaurusShown()
boolean isTemplatesShown()
+
boolean isTemplatesShown()
boolean isPersonalShown()
+
boolean isPersonalShown()
boolean isMailShown()
+
boolean isMailShown()
boolean isTrashShown(
+
boolean isTrashShown(
  
 
== Example ==
 
== Example ==

Revision as of 16:21, 3 November 2010

Read Methods

int getStackIndex()
boolean isTaxonomyShown()
boolean isCategoriesShown()
boolean isThesaurusShown()
boolean isTemplatesShown()
boolean isPersonalShown()
boolean isMailShown()
boolean isTrashShown(

Example

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