diff options
author | Lakshmi Shanmugam | 2015-10-23 08:13:25 +0000 |
---|---|---|
committer | Lakshmi Shanmugam | 2017-08-11 11:44:04 +0000 |
commit | a99439d30a7b8da847601ddd9043ac241ce028e9 (patch) | |
tree | be5e70e99f9afc317dd7558d51ddcce1c584a76d /bundles/org.eclipse.swt/Eclipse%20SWT%20PI/cocoa/org/eclipse/swt/internal/cocoa | |
parent | d81458a98525bf0b98909d362bde0ba3e3199d56 (diff) | |
download | eclipse.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