TabDocumentExtension

From OpenKM Documentation
Revision as of 16:59, 5 October 2010 by Jllort (talk | contribs)

Jump to: navigation, search

Methods

getTabText()
String getExtensionUUID()

getTabText

Used by OpenKM to get the tab text.

getExtensionUUID()

Return unique extension id

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;
	}
        
        @Override
        public String getExtensionUUID() {
                return String.valueOf("d9dab640-d098-11df-bd3b-0800200c9a66");
        }
}