ui/src/main/java/org/apache/hop/ui/core/vfs/HopVfsFileDialog.java
private void fileDefaultSelected(Event event) {
    FileObject fileObject = getSelectedFileObject();
    if (fileObject == null) {
      return;
    }

    try {
      navigateTo(HopVfs.getFilename(fileObject), true);

      if (fileObject.isFolder()) {
        // Browse into the selected folder...
        //
        refreshBrowser();
      } else {
        // Take this file as the user choice for this dialog
        //
        okButton();
      }
    } catch (Throwable e) {
      showError(BaseMessages.getString(PKG, "HopVfsFileDialog.DefaultSelection.Handling.Error.Message", fileObject.toString()), e);
    }
  }
/**
   * Double clicked on a file or folder
   *
   * @param event
   */
Double clicked on a file or folder
@param event
Double clicked on a file or folder @param event
private void fileDefaultSelected(Event event) {
    FileObject fileObject = getSelectedFileObject();
    if (fileObject == null) {
      return;
    }
    try {
      navigateTo(HopVfs.getFilename(fileObject), true);
      if (fileObject.isFolder()) {
        refreshBrowser();
      } else {
         Take this file as the user choice for this dialog
        okButton();
      }
    } catch (Throwable e) {
      showError(BaseMessages.getString(PKG, "HopVfsFileDialog.DefaultSelection.Handling.Error.Message", fileObject.toString()), e);
    }
  }
private void fileDefaultSelected ( Event event ) { FileObject fileObject = getSelectedFileObject ( ) ; if ( fileObject == null ) { return ; } try { navigateTo ( HopVfs . getFilename ( fileObject ) , true ) ; if ( fileObject . isFolder ( ) ) { refreshBrowser ( ) ; } else { okButton ( ) ; } } catch ( Throwable e ) { showError ( BaseMessages . getString ( PKG , "HopVfsFileDialog.DefaultSelection.Handling.Error.Message" , fileObject . toString ( ) ) , e ) ; } }
Double clicked on a file or folder
 @param event
Double clicked on a file or folder @param event
// Browse into the selected folder... // // Take this file as the user choice for this dialog //