TabDocument Extension

Add a new tab at bottom right  ( usually there are shown properties, notes, security, history, and preview tabs ) in the document tab section.




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

public class TabDocumentExample extends TabDocumentExtension {
	VerticalPanel vPanel;
        String tabText = "Tab example";
	public TabDocumentExample() {
		HTML html = new HTML("Content tab example");
		vPanel = new VerticalPanel();
	public String getTabText() {
		return tabText;