TabRecord Comunicator

Used to retrieve tab record data.

Methods

methodreturntypeDescription

getSelectedTab()

int

read

Get the selected tab id.

getRecord()

GWTRecord

read Retrieve the GWT record object from selected record of the user interface.

isWidgetExtensionVisible(Widget widget)

boolean

read Return true when the widget is visible in record tabs.

Sample

int selectedTab = TabRecordComunicator.getSelectedTab();
if (selectedTab==0) {
  Window.alert("First tab enabled");
} else {
  Window.alert("Other tab");
}

 

Table of contents [ Hide Show ]