Difference between revisions of "TabDocumentExtension"
From OpenKM Documentation
Line 1: | Line 1: | ||
− | |||
− | |||
== Methods == | == Methods == | ||
=== getTabText === | === getTabText === |
Revision as of 13:26, 2 December 2010
Methods
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");
}
}