Tor Norbye [Fri, 5 Oct 2012 16:33:34 +0000 (09:33 -0700)]
Add workaround for the Eclipse+Mountain Lion bug
On Mountain Lion, the property sheet's property editor inline text
editor is broken. This is due to
https://bugs.eclipse.org/bugs/show_bug.cgi?id=388574
The bug has been fixed for Eclipse 4.3, but right now it's a very poor
user experience; you click to edit, and nothing happens.
This changeset adds a workaround: *If* the bug is triggered (an
exception is thrown during property editor activation), then the
customizer dialog is shown instead (equivalent to clicking on the
"..." button next to the property).
The dialog code is modified to show an error message on the bottom
explaining why the dialog was shown instead (since this behavior is
annoying, we should explain to users why we are doing), and it
explains that the bug should be fixed in Eclipse 4.3, so if anyone in
the future is running Eclipse 4.2 with this behavior and 4.3 is
available, they will have an incentive to upgrade.
(This is the property editor side of the workaround; the ADT side is
in the SDK git repository)
Tor Norbye [Wed, 6 Jun 2012 19:41:53 +0000 (12:41 -0700)]
Prevent beeps in property editor
Clicking focus into a property editor which both has
proposal support as well as has a current value which
is not a proposal match (for example, a TextView's text
property can have a hardcoded string which is not a
match for the proposals which are for @-resources) would
cause an audible beep. This CL prevents that.
Tor Norbye [Tue, 15 May 2012 00:22:29 +0000 (17:22 -0700)]
Fix propertysheet mouse handling
Selecting items from the field completion popup in the propertysheet
did not work. This turned out to be related to window focus loss on
the associated text field taking down the popup as soon as the mouse
click transferred focus to it.
Tor Norbye [Mon, 7 May 2012 22:13:14 +0000 (15:13 -0700)]
Add WindowBuilder NLS support
This changeset adds back portions of the WindowBuilder NLS support
into the propertysheet library such that the locale chooser etc
can for example use the language flags.
Tor Norbye [Thu, 19 Apr 2012 20:32:08 +0000 (13:32 -0700)]
Add support for window docking in the property sheet code
This checkin migrates more of the WindowBuilder code into the property
sheet library; in particular, it adds the window docking code for use
with the property sheet in ADT. There are also some modifications to
the code to support ADT use cases, documented in the updated README.