TabWorkspaceExtension

From OpenKM Documentation
Revision as of 16:17, 14 June 2010 by Jllort (talk | contribs) (Created page with '== Methods == getTabText() == getTabText == Used by OpenKM to get the tab text. == Example == <source lang="java"> public class TabWorkspaceExample extends TabWorkspaceExtens…')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Methods

getTabText()

getTabText

Used by OpenKM to get the tab text.


Example

public class TabWorkspaceExample extends TabWorkspaceExtension {
	
	private VerticalPanel vPanel;
	
	/**
	 * TabWorkspaceExample
	 */
	public TabWorkspaceExample() {
		vPanel = new VerticalPanel();
		vPanel.add(new HTML("new workspace example"));
		
		vPanel.setStyleName("okm-Input");
		
		initWidget(vPanel);
	}

	@Override
	public String getTabText() {
		return "tab workspace";
	}
}