Difference between revisions of "WorkspaceComunicator"
From OpenKM Documentation
Line 4: | Line 4: | ||
* int getSelectedWorkspace() | * int getSelectedWorkspace() | ||
* GWTWorkspace getWorkspace() | * GWTWorkspace getWorkspace() | ||
+ | * getTabExtensionIndex(TabWorkspaceExtension widget) | ||
== Example == | == Example == |
Revision as of 12:36, 29 November 2011
Read Methods
- int getSelectedTab()
- changeSelectedTab(int selectedTab)
- int getSelectedWorkspace()
- GWTWorkspace getWorkspace()
- getTabExtensionIndex(TabWorkspaceExtension widget)
Example
int tab = WorkspaceComunicator.getSelectedTab();
if (tab==0) {
Window.alert("First tab enabled");
} else {
Window.alert("Other stack");
}