TabDocumentExtension

From OpenKM Documentation
Revision as of 15:17, 14 June 2010 by Jllort (talk | contribs)

Jump to: navigation, search

Methods

getTabText()


getTabText

Used by OpenKM to get the tab text.


Example

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;
	}
}