Package xnap.gui.event

Examples of xnap.gui.event.FileArray


    return;
      }
     
      event.acceptDrop(DnDConstants.ACTION_MOVE);

      FileArray f =
    (FileArray)t.getTransferData(TransferableFile.FILE_FLAVOR);
     
      TreePath selected
    = (getSelectionPath().equals(originalPath)) ? lastPath : getSelectionPath();
      lastPath = null;
      if (selected == null) {
    event.rejectDrop();
    cleanUp();
    return;
      }
     
      Object o = selected.getLastPathComponent();
      if (o instanceof File) {
    File dir = (File)o;
    File files[] = Dialogs.showMoveDialog(parent, f.getFiles(),
                  dir);

    if (files == null) {
        event.dropComplete(false);
        cleanUp();
View Full Code Here

TOP

Related Classes of xnap.gui.event.FileArray

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.