TabDocumentComunicator

From OpenKM Documentation
Revision as of 16:37, 2 June 2010 by Jllort (talk | contribs)

Jump to: navigation, search

Read Methods

int getSelectedTab()
GWTDocument getDocument()
Collection<String> getKeywords()
Collection<GWTNote> getNotes()

Write Methods

addKeyword(String keyword)
removeKeyword(String keyword)
addCategory(GWTFolder category)
removeCategory(String UUID)

Example

int selectedTab = TabDocumentComunicator.getSelectedTab();
if (selectedTab==0) {
  Window.alert("First tab enabled");
} else {
Window.alert("Other tab than first");
}