Package org.pentaho.mantle.client.commands

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


      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 ) {
      new DeletePermanentFileCommand().execute();
    }
View Full Code Here


    } else if ( mode == COMMAND.SCHEDULE_NEW ) {
      ScheduleHelper.createSchedule( selectedItem.getRepositoryFile() );
    } else if ( mode == COMMAND.SHARE ) {
      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 ) {
View Full Code Here

TOP

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

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.