TabMailComunicator
Methods
Section titled “Methods”| method | return | type | Description |
|---|---|---|---|
| getSelectedTab() | int | read | Gets the selected tab id. |
| getMail() | GWTMail | read | Retrieves the GWT mail object from selected mail of the user interface. |
| isWidgetExtensionVisible(Widget widget) | boolean | read | Returns true when the widget is visible in mail tabs. |
Sample
Section titled “Sample”int selectedTab = TabMailComunicator.getSelectedTab();if (selectedTab==0) { Window.alert("First tab enabled");} else { Window.alert("Other tab");}