Difference between revisions of "FileBrowserComunicator"

From OpenKM Documentation
Jump to: navigation, search
(Created page with '== Read Methods == boolean isDocumentSelected() boolean isFolderSelected() boolean isMailSelected() == Example == <source lang="java"> if (FileBrowserComunicator.isDocumentS…')
 
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
== Read Methods ==
 
== Read Methods ==
boolean isDocumentSelected()
+
* boolean isDocumentSelected()
boolean isFolderSelected()
+
* boolean isFolderSelected()
boolean isMailSelected()
+
* boolean isMailSelected()
 +
* boolean isRecordSelected()
 +
* GWTDocument getDocument()
 +
* GWTFolder getFolder()
 +
* GWTMail getMail()
 +
* GWTRecord getRecord()
 +
* boolean isPanelSelected()
 +
* refreshOnlyFileBrowser();
  
 
== Example ==
 
== Example ==
Line 13: Line 20:
 
</source>
 
</source>
  
[[Category: OpenKM plugin extensions]]
+
[[Category: Extension Guide]]

Latest revision as of 07:36, 16 September 2014

Read Methods

  • boolean isDocumentSelected()
  • boolean isFolderSelected()
  • boolean isMailSelected()
  • boolean isRecordSelected()
  • GWTDocument getDocument()
  • GWTFolder getFolder()
  • GWTMail getMail()
  • GWTRecord getRecord()
  • boolean isPanelSelected()
  • refreshOnlyFileBrowser();

Example

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