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 the selected record in the user interface.
isWidgetExtensionVisible(Widget widget) boolean read Return true when the widget is visible in the record tabs.
int selectedTab = TabRecordComunicator.getSelectedTab();
if (selectedTab == 0) {
Window.alert("First tab enabled");
} else {
Window.alert("Other tab");
}