Difference between revisions of "WorkspaceComunicator"

From OpenKM Documentation
Jump to: navigation, search
Line 2: Line 2:
 
  int getSelectedTab()
 
  int getSelectedTab()
 
     setSearchView()
 
     setSearchView()
 +
int getSelectedWorkspace()
  
  

Revision as of 20:27, 24 November 2010

Read Methods

int getSelectedTab()
    setSearchView()
int getSelectedWorkspace()


Example

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