Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SDK: Fix classpath for eclipse projects. | Raphael Moll | 2012-04-12 | 1 | -1/+4 |
| | | | | | | | | | | swt.jar must be found relative to the out/ dir (as generated by create_all_symlinks.sh) to avoid setting a platform-specific path. swtmenubar was missing the new libs references. Change-Id: I365cfa6e011ec831c4df87cb36b0df722caac2e4 | ||||
* | Cocoa implementation for SwtMenuBar. | Raphael Moll | 2011-04-27 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Note that in the Android SDK tools, we ship: - SWT in 32-bit with Carbon only. - SWT in 64-bit with Cocoa only. The previous implementation was carbon-only and the menus were basically not 'macified' when running on a recent Mac from the command-line. This missing implementation fixes it. After experimenting with various implementations of the original SWT CocoaMenuEnhancer, I finally settled with this one since it solely uses reflection and does not import anything from the swt.cocoa namespace. This means we can easily build this using the makefile which *only* links with the 32-bit/carbon version of SWT.jar. Note that on Windows/Linux, the src-darwin folder will be ignored, which is why it is not mapped as a source directory and which is why we can't build this directly from Eclipse. Change-Id: I53859d3b15bc7026d6bd4f77e048a0c4b4eeb02c | ||||
* | swtmenubar library for the SDK. | Raphael Moll | 2011-04-15 | 1 | -0/+7 |
This little EPL library provides a way for the SDK apps to integrate with the Mac menu bar -- that is correctly hook into the About and Preferences menu items. On other platforms (Windows, Linux), corresponding items are added to the provided menu. The library provides both a Carbon and a Cocoa implementation. However the Cocoa implemented is currently commented out since we only link with a Carbon-aware version of SWT.jar. Added a README that explain how to use this. Change-Id: I4b8457f0269946df056b5dd597c7263da1c4e784 |