Skip to content
Other versions

Loading…

TabRecordComunicator

method return type Description
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.
int selectedTab = TabRecordComunicator.getSelectedTab();
if (selectedTab==0) {
Window.alert("First tab enabled");
} else {
Window.alert("Other tab");
}