Package org.cfeclipse.cfml.views.explorer.vfs

Examples of org.cfeclipse.cfml.views.explorer.vfs.FileOperation


    // run a copy operation
        try {
          // if copying 1 file, the progresss dialog will show a bouncing progress
          boolean indeterminate = (sourceNames.length == 1);
         
          FileOperation copyOperation = new FileOperation(fsManager, FileOperation.COPY, indeterminate);
         
          // set copy op arguments
          copyOperation.setCopyArgs(sourceNames, sourceConnection, targetFile, destConnection);
         
          // fire operation
          new ProgressMonitorDialog(Shell).run(true, true, copyOperation);
        }
        catch (InvocationTargetException e)
View Full Code Here


   */
  private void deleteObjects (FileObject[] files)
  {
    // run a delete operation
        try {
          FileOperation delOperation = new FileOperation(fsManager, FileOperation.DELETE, true);
          delOperation.setDeleteArgs(files);
         
          new ProgressMonitorDialog(shell).run(true, true, delOperation);
        }
        catch (InvocationTargetException e)
        {
View Full Code Here

TOP

Related Classes of org.cfeclipse.cfml.views.explorer.vfs.FileOperation

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.