WorkspaceComunicator
Esta página aún no está disponible en tu idioma.
Methods
Section titled “Methods”| 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. |
Sample
Section titled “Sample”int tab = WorkspaceComunicator.getSelectedTab();if (tab==0) { Window.alert("First tab enabled");} else { Window.alert("Other stack");}