Ir al contenido
Otras versiones

Cargando…

TabDocumentExtension

Esta página aún no está disponible en tu idioma.

method Description
getTabText() Used by OpenKM to get the tab text.
set(GWTDocument doc) Each time there’s some document selected ( in browser ) is executed this method by OpenKM to refreshing document tab panel information.
setVisibleButtons(boolean visible) Shows or hides buttons ( for example in trash view usually edit button should not be visible ).
public class TabDocumentExample extends TabDocumentExtension {
VerticalPanel vPanel;
String tabText = "Tab example";
public TabDocumentExample() {
HTML html = new HTML("Content tab example");
vPanel = new VerticalPanel();
vPanel.add(html);
initWidget(vPanel);
}
@Override
public String getTabText() {
return tabText;
}
}