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 the selected workspace ID.
getWorkspace() GWTWorkspace read Get selected workspace object.
getTabExtensionIndex(TabWorkspaceExtension widget) int read Get the tab ID of the widget.
int tab = WorkspaceComunicator.getSelectedTab();
if (tab == 0) {
Window.alert("First tab enabled");
} else {
Window.alert("Other stack");
}