Difference between revisions of "FileBrowserComunicator"

From OpenKM Documentation
Jump to: navigation, search
Line 1: Line 1:
 
== Read Methods ==
 
== Read Methods ==
boolean isDocumentSelected()
+
* boolean isDocumentSelected()
boolean isFolderSelected()
+
* boolean isFolderSelected()
boolean isMailSelected()
+
* boolean isMailSelected()
GWTDocument getDocument()
+
* GWTDocument getDocument()
GWTFolder getFolder()
+
* GWTFolder getFolder()
GWTMail getMail()
+
* GWTMail getMail()
boolean isPanelSelected()
+
* boolean isPanelSelected()
  
 
== Example ==
 
== Example ==
Line 17: Line 17:
 
</source>
 
</source>
  
[[Category: OpenKM plugin extensions]]
+
[[Category: Extension Guide]]

Revision as of 13:37, 2 December 2010

Read Methods

  • boolean isDocumentSelected()
  • boolean isFolderSelected()
  • boolean isMailSelected()
  • GWTDocument getDocument()
  • GWTFolder getFolder()
  • GWTMail getMail()
  • boolean isPanelSelected()

Example

 if (FileBrowserComunicator.isDocumentSelected()) {
     Window.alert("document selected");
 } else {
     Window.alert("document not selected");
 }