Package org.eclipse.ui.actions

Examples of org.eclipse.ui.actions.CopyFilesAndFoldersOperation.validateDestination()


                    if (DEBUG) {
                        System.out.println("ResourceDropAdapterAssistant.validateDrop validating MOVE."); //$NON-NLS-1$
                    }
                    operation = new MoveFilesAndFoldersOperation(getShell());
                }
                message = operation.validateDestination(destination, selectedResources);
            }
        } // file import?
        else if (FileTransfer.getInstance().isSupportedType(transferType)) {
            String[] sourceNames = (String[]) FileTransfer.getInstance().nativeToJava(transferType);
            if (sourceNames == null) {
View Full Code Here


                if (dropOperation == DND.DROP_COPY) {
                    operation = new CopyFilesAndFoldersOperation(getShell());
                } else {
                    operation = new MoveFilesAndFoldersOperation(getShell());
                }
                message = operation.validateDestination(destination, selectedResources);
            }
        } // file import?
        else if (FileTransfer.getInstance().isSupportedType(transferType)) {
            String[] sourceNames = (String[]) FileTransfer.getInstance().nativeToJava(transferType);
            if (sourceNames == null) {
View Full Code Here

        if (lastValidOperation == DND.DROP_COPY) {
          operation = new CopyFilesAndFoldersOperation(getShell());
        } else {
          operation = new MoveFilesAndFoldersOperation(getShell());
        }
        message = operation.validateDestination(destination,
            selectedResources);
      }
    } // file import?
    else if (FileTransfer.getInstance().isSupportedType(transferType)) {
      String[] sourceNames = (String[]) FileTransfer.getInstance()
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.