Difference between revisions of "WorkspaceComunicator"

From OpenKM Documentation
Jump to: navigation, search
(Created page with '== Read Methods == int getSelectedTab() == Example == <source lang="java"> int tab = WorkspaceComunicator.getSelectedTab(); if (tab==0) { Window.alert("First tab enabled"); }…')
 
Line 1: Line 1:
 
== Read Methods ==
 
== Read Methods ==
int getSelectedTab()
+
int getSelectedTab()
 +
    setSearchView()
  
  

Revision as of 12:56, 23 November 2010

Read Methods

int getSelectedTab()
    setSearchView()


Example

int tab = WorkspaceComunicator.getSelectedTab();
if (tab==0) {
  Window.alert("First tab enabled");
} else {
  Window.alert("Other stack");
}