aboutsummaryrefslogtreecommitdiffstats
path: root/swtmenubar
Commit message (Collapse)AuthorAgeFilesLines
* Fix typos in READMEs.Raphael Moll2011-05-021-1/+1
| | | | | | This addresses some CL feedback from last week. Change-Id: I1a121b3f294a395eb0f660d962c65c48d1760d7b
* Use SwtMenuBar in HierarchyViewer application.Raphael Moll2011-04-285-42/+116
| | | | Change-Id: I5f61e0c238520d8582e9bef8fa69c354a1165475
* Use SwtMenuBar for DDMS.Raphael Moll2011-04-284-3/+45
| | | | Change-Id: I32121a336e5b3256ef1661fff5afe84741295d08
* Cocoa implementation for SwtMenuBar.Raphael Moll2011-04-275-343/+363
| | | | | | | | | | | | | | | | | | | | | | | | | 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 Moll2011-04-1512-0/+1037
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