Difference between revisions of "WorkspaceComunicator"
From OpenKM Documentation
Line 1: | Line 1: | ||
== Read Methods == | == Read Methods == | ||
int getSelectedTab() | int getSelectedTab() | ||
− | + | changeSelectedTab(int selectedTab) | |
int getSelectedWorkspace() | int getSelectedWorkspace() | ||
Revision as of 10:13, 25 November 2010
Read Methods
int getSelectedTab() changeSelectedTab(int selectedTab) int getSelectedWorkspace()
Example
int tab = WorkspaceComunicator.getSelectedTab();
if (tab==0) {
Window.alert("First tab enabled");
} else {
Window.alert("Other stack");
}