Package org.pentaho.mantle.client.commands

Examples of org.pentaho.mantle.client.commands.ExportFileCommand


    } else if ( mode == COMMAND.CREATE_FOLDER ) {
      TreeItem item = sbp.getSolutionTree().getSelectedItem();
      RepositoryFileTree tree = (RepositoryFileTree) item.getUserObject();
      new NewFolderCommand( tree.getFile() ).execute();
    } else if ( mode == COMMAND.EXPORT ) {
      new ExportFileCommand( repositoryFile ).execute();
    } else if ( mode == COMMAND.IMPORT ) {
      new ImportFileCommand( repositoryFile ).execute();
    } else if ( mode == COMMAND.PASTE ) {
      new PasteFilesCommand().execute();
    } else if ( mode == COMMAND.EMPTY_TRASH ) {
View Full Code Here


      new ShareFileCommand().execute();
    } else if ( mode == COMMAND.IMPORT ) {
      new ImportFileCommand( fileSummary == null ? fileSummaryProvider.getRepositoryFiles().get( 0 ) : fileSummary )
          .execute();
    } else if ( mode == COMMAND.EXPORT ) {
      new ExportFileCommand( fileSummary == null ? fileSummaryProvider.getRepositoryFiles().get( 0 ) : fileSummary )
          .execute();
    } else if ( mode == COMMAND.FAVORITE ) {
      sbp.addFavorite( selectedItem.getRepositoryFile().getPath(), selectedItem.getRepositoryFile().getTitle() );
      FavoritePickList.getInstance().save( "favorites" );
    } else if ( mode == COMMAND.FAVORITE_REMOVE ) {
View Full Code Here

TOP

Related Classes of org.pentaho.mantle.client.commands.ExportFileCommand

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.