TabFolderExtension

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

Methods

methodDescription

getTabText()

Used by OpenKM to get the tab text.

set(GWTFolder folder)

Each time some folder is selected ( at tree or browser ) is executed this method by OpenKM to refreshing folder tab panel information.

setVisibleButtons(boolean visible)

Show or hide buttons ( for example in trash view usually edit button should not be visible ).

Sample

public class TabFolderExample extends TabFolderExtension {
	VerticalPanel vPanel;
 
	public TabFolderExample() {
		vPanel = new VerticalPanel();
		vPanel.add(new HTML("hello world"));
 
		initWidget(vPanel);
	}
 
	@Override
	public String getTabText() {
		return "New folder tab";
	}
 
	@Override
	public void set(GWTFolder folder) {
		// TODO Auto-generated method stub
 
	}
 
	@Override
	public void setVisibleButtons(boolean visible) {
		// TODO Auto-generated method stub
	}
 
}