Merge pull request #64 in ITERATE/cyberduck from feature/windows/9074 to master
[cyberduck.git] / source / ch / cyberduck / binding / application / NSDraggingSource.java
blob91e33fcd7cab83fe18cd47001e43f4b08b7c744b
1 package ch.cyberduck.binding.application;
3 /*
4 * Copyright (c) 2002-2009 David Kocher. All rights reserved.
6 * http://cyberduck.ch/
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * Bug fixes, suggestions and comments should be sent to:
19 * dkocher@cyberduck.ch
22 import ch.cyberduck.binding.foundation.NSArray;
23 import ch.cyberduck.binding.foundation.NSURL;
25 import org.rococoa.cocoa.foundation.NSPoint;
26 import org.rococoa.cocoa.foundation.NSUInteger;
28 /**
29 * @version $Id$
31 public interface NSDraggingSource {
32 /**
33 * Original signature : <code>NSDragOperation draggingSourceOperationMaskForLocal(BOOL)</code><br>
34 * <i>native declaration : line 72</i>
36 NSUInteger draggingSourceOperationMaskForLocal(boolean flag);
38 /**
39 * <i>native declaration : line 76</i><br>
40 * Conversion Error : /// Original signature : <code>void draggedImage(NSImage*, null)</code><br>
41 * - (void)draggedImage:(NSImage*)image beganAt:(null)screenPoint; (Argument screenPoint cannot be converted)
43 public void draggedImage_beganAt(NSImage image, NSPoint point);
45 /**
46 * <i>native declaration : line 77</i><br>
47 * Conversion Error : /// Original signature : <code>void draggedImage(NSImage*, null, NSDragOperation)</code><br>
48 * - (void)draggedImage:(NSImage*)image endedAt:(null)screenPoint operation:(NSDragOperation)operation; (Argument screenPoint cannot be converted)
50 public void draggedImage_endedAt_operation(NSImage image, NSPoint point, NSUInteger operation);
52 /**
53 * <i>native declaration : line 78</i><br>
54 * Conversion Error : /// Original signature : <code>void draggedImage(NSImage*, null)</code><br>
55 * - (void)draggedImage:(NSImage*)image movedTo:(null)screenPoint; (Argument screenPoint cannot be converted)
57 public void draggedImage_movedTo(NSImage image, NSPoint point);
59 /**
60 * Original signature : <code>BOOL ignoreModifierKeysWhileDragging()</code><br>
61 * <i>native declaration : line 79</i>
63 boolean ignoreModifierKeysWhileDragging();
65 NSArray namesOfPromisedFilesDroppedAtDestination(final NSURL dropDestination);