commit | a99439d30a7b8da847601ddd9043ac241ce028e9 | [log] [tgz] |
---|---|---|
author | Lakshmi Shanmugam <lshanmug@in.ibm.com> | Fri Oct 23 13:43:25 2015 +0530 |
committer | Lakshmi Shanmugam <lshanmug@in.ibm.com> | Fri Aug 11 17:14:04 2017 +0530 |
tree | be5e70e99f9afc317dd7558d51ddcce1c584a76d | |
parent | d81458a98525bf0b98909d362bde0ba3e3199d56 [diff] |
Bug 467205 - [10.10] FileDialog/DirectoryDialog with SWT.SHEET misplaced 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
Thanks for your interest in this project.
See the following description for how to contribute a feature or a bug fix to SWT.
Information regarding source code management, builds, coding standards, and more and be found under the following link.
Before your contribution can be accepted by the project, you need to create and electronically sign the Eclipse Foundation Contributor License Agreement (CLA).
Contact the project developers via the project's “dev” list.
This project uses Bugzilla to track ongoing development and issues.
Be sure to search for existing bugs before you create another one. Remember that contributions are always welcome!