diff options
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSOpenPanel.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSOpenPanel.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSOpenPanel.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSOpenPanel.java index f647d3007c..2576c39f93 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSOpenPanel.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSOpenPanel.java @@ -16,7 +16,7 @@ public NSOpenPanel() { super(); } -public NSOpenPanel(int /*long*/ id) { +public NSOpenPanel(long /*int*/ id) { super(id); } @@ -25,12 +25,12 @@ public NSOpenPanel(id id) { } public NSArray filenames() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_filenames); + long /*int*/ result = OS.objc_msgSend(this.id, OS.sel_filenames); return result != 0 ? new NSArray(result) : null; } public static NSOpenPanel openPanel() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSOpenPanel, OS.sel_openPanel); + long /*int*/ result = OS.objc_msgSend(OS.class_NSOpenPanel, OS.sel_openPanel); return result != 0 ? new NSOpenPanel(result) : null; } @@ -47,15 +47,15 @@ public void setCanChooseFiles(boolean flag) { } public static NSSavePanel savePanel() { - int /*long*/ result = OS.objc_msgSend(OS.class_NSOpenPanel, OS.sel_savePanel); + long /*int*/ result = OS.objc_msgSend(OS.class_NSOpenPanel, OS.sel_savePanel); return result != 0 ? new NSSavePanel(result) : null; } -public static float /*double*/ minFrameWidthWithTitle(NSString aTitle, int /*long*/ aStyle) { - return (float /*double*/)OS.objc_msgSend_fpret(OS.class_NSOpenPanel, OS.sel_minFrameWidthWithTitle_styleMask_, aTitle != null ? aTitle.id : 0, aStyle); +public static double /*float*/ minFrameWidthWithTitle(NSString aTitle, long /*int*/ aStyle) { + return (double /*float*/)OS.objc_msgSend_fpret(OS.class_NSOpenPanel, OS.sel_minFrameWidthWithTitle_styleMask_, aTitle != null ? aTitle.id : 0, aStyle); } -public static int /*long*/ windowNumberAtPoint(NSPoint point, int /*long*/ windowNumber) { +public static long /*int*/ windowNumberAtPoint(NSPoint point, long /*int*/ windowNumber) { return OS.objc_msgSend(OS.class_NSOpenPanel, OS.sel_windowNumberAtPoint_belowWindowWithWindowNumber_, point, windowNumber); } |