TabDocumentExtension
Esta página aún no está disponible en tu idioma.
Methods
Section titled “Methods”| 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 ). |
Basic sample
Section titled “Basic sample”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; }
}