TabFolder Comunicator

Use to retrieve tab folder data.

Methods

methodreturntypeDescription

getSelectedTab()

int

read

Gets the selected tab id.

getFolder()

GWTFolder

read Retrieves the GWT folder object from the selected folder of the user interface.
isVisibleButton()

boolean

read Returns true when buttons are enabled on this view.

isWidgetExtensionVisible(Widget widget)

boolean

read Returns true when the widget is visible in folder tabs.

Sample

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