Package org.pentaho.mantle.client.dialogs

Examples of org.pentaho.mantle.client.dialogs.FileDialog


    RepositoryFileTreeManager.getInstance().fetchRepositoryFileTree( new AsyncCallback<RepositoryFileTree>() {
      public void onFailure( Throwable caught ) {
      }

      public void onSuccess( RepositoryFileTree repositoryFileTree ) {
        FileDialog dialog = new FileDialog( repositoryFileTree, path, title, okText, fileTypes.split( "," ) );
        dialog.addFileChooserListener( new FileChooserListener() {

          public void fileSelected( RepositoryFile repositoryFile, String filePath, String fileName, String title ) {
            notifyOpenFileCallback( callback, repositoryFile, filePath, fileName, title );
          }

          public void fileSelectionChanged( RepositoryFile repositoryFile, String filePath, String fileName,
              String title ) {
          }

          public void dialogCanceled() {

          }

        } );
        dialog.show();
      }
    }, false, null, null, showHidden );
  }
View Full Code Here

TOP

Related Classes of org.pentaho.mantle.client.dialogs.FileDialog

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.