TabMail Comunicator
Used to retrieve tab mail data.
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
int selectedTab = TabMailComunicator.getSelectedTab();
if (selectedTab==0) {
Window.alert("First tab enabled");
} else {
Window.alert("Other tab");
}