WorkspaceComunicator

From OpenKM Documentation
Revision as of 14:36, 2 December 2010 by Pavila (talk | contribs)

Jump to: navigation, search

Read Methods

  • int getSelectedTab()
  • changeSelectedTab(int selectedTab)
  • int getSelectedWorkspace()
  • GWTWorkspace getWorkspace()

Example

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