TabFolderComunicator

From OpenKM Documentation
Jump to: navigation, search

Read Methods

  • int getSelectedTab()
  • GWTFolder getFolder()
  • boolean isVisibleButton()
  • boolean isWidgetExtensionVisible(Widget widget)

Example

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