Skip to content
Other versions

Loading…

WorkspaceComunicator

method return type Description
getSelectedTab() int read Get the selected tab id.
changeSelectedTab(int selectedTab) void write Change the selected tab.
getSelectedWorkspace() int read Get selected workspace id.
getWorkspace() GWTWorkspace read Get selected workspace object.
getTabExtensionIndex(TabWorkspaceExtension widget) int read Get the tab id of the widget.
getAppVersion() String read Retrieve the application version.
int tab = WorkspaceComunicator.getSelectedTab();
if (tab==0) {
Window.alert("First tab enabled");
} else {
Window.alert("Other stack");
}