Difference between revisions of "TabWorkspaceExtension"

From OpenKM Documentation
Jump to: navigation, search
(Created page with '== Methods == getTabText() == getTabText == Used by OpenKM to get the tab text. == Example == <source lang="java"> public class TabWorkspaceExample extends TabWorkspaceExtens…')
(No difference)

Revision as of 15:17, 14 June 2010

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