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 ==
Line 19: Line 19:
 
</source>
 
</source>
  
 
+
[[Category: Extension Guide]]
[[Category: OpenKM plugin extensions]]
 

Revision as of 13:36, 2 December 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");
}