Package org.pentaho.gwt.widgets.client.filechooser

Examples of org.pentaho.gwt.widgets.client.filechooser.FileChooserListener


          } else {
            dialog.setTitle( Messages.getString( "save" ) ); //$NON-NLS-1$
            dialog.setText( Messages.getString( "save" ) ); //$NON-NLS-1$
          }
          // TODO Uncomment the line below and delete the line after that once gwtwidets have been branched
          dialog.addFileChooserListener( new FileChooserListener() {

            public void dialogCanceled() {

            }
View Full Code Here


            GlassPane.getInstance().hide();
          }

        };
    dialog.setSubmitOnEnter( MantleApplication.submitOnEnter );
    dialog.addFileChooserListener( new FileChooserListener() {

      public void fileSelected( RepositoryFile file, String filePath, String fileName, String title ) {
        dialog.hide();
        for ( FileChooserListener listener : listeners ) {
          listener.fileSelected( file, filePath, fileName, title );
View Full Code Here

        WaitPopup.getInstance().setVisibleById( false, spinnerId );
        final FileChooserDialog dialog =
            new FileChooserDialog( FileChooserMode.OPEN, lastPath, tree, false, true, solutionBrowserPerspective
                .getSolutionTree().isShowHiddenFiles() );
        dialog.setSubmitOnEnter( MantleApplication.submitOnEnter );
        dialog.addFileChooserListener( new FileChooserListener() {

          public void dialogCanceled() {
            // retain current active perspective
            PerspectiveManager.getInstance().setPerspective( activePerspective.getId() );
          }
View Full Code Here

      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 );
          }
View Full Code Here

TOP

Related Classes of org.pentaho.gwt.widgets.client.filechooser.FileChooserListener

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.