Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLakshmi Shanmugam2015-10-23 08:13:25 +0000
committerLakshmi Shanmugam2017-08-11 11:44:04 +0000
commita99439d30a7b8da847601ddd9043ac241ce028e9 (patch)
treebe5e70e99f9afc317dd7558d51ddcce1c584a76d /bundles/org.eclipse.swt/Eclipse%20SWT%20PI/cocoa/org/eclipse/swt/internal/cocoa
parentd81458a98525bf0b98909d362bde0ba3e3199d56 (diff)
downloadeclipse.platform.swt-a99439d30a7b8da847601ddd9043ac241ce028e9.tar.gz
eclipse.platform.swt-a99439d30a7b8da847601ddd9043ac241ce028e9.tar.xz
eclipse.platform.swt-a99439d30a7b8da847601ddd9043ac241ce028e9.zip
Bug 467205 - [10.10] FileDialog/DirectoryDialog with SWT.SHEET misplacedI20170811-2000
after slide-down animation Replaced deprecated NSSavePanel and NSOpenPanel APIs with newer ones. The new API NSSavePanel.beginSheetModalForWindow that is required to show the Sheet, uses objective-c block for completion handler. This call can't be made directly from Java, as Java doesn't support the block syntax (^). Hence, it is called from a wrapper function inside C code in os_custom.c. The wrapper function calls beginSheetModalForWindow with the objective C block syntax. The completion handler block is also implemented in os_custom.c which callsback to the Java functionFileDialog/DirectoryDialog._completionHandler(). Change-Id: Ib03881a68ef7ecaf2132cf91a4137aef8b6fe3fc
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse%20SWT%20PI/cocoa/org/eclipse/swt/internal/cocoa')
0 files changed, 0 insertions, 0 deletions

Back to the top