Difference between revisions of "FileBrowserComunicator"

From OpenKM Documentation
Jump to: navigation, search
 
(4 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()
GWTDocument getDocument()
+
* boolean isRecordSelected()
GWTFolder getFolder()
+
* GWTDocument getDocument()
GWTMail getMail()
+
* GWTFolder getFolder()
 +
* GWTMail getMail()
 +
* GWTRecord getRecord()
 +
* boolean isPanelSelected()
 +
* refreshOnlyFileBrowser();
  
 
== Example ==
 
== Example ==
Line 16: 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");
 }