• Home
  • History
  • Annotate
  • only in /external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/
History log of /external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
62a54a64746b33b65f33c9e71bf8dc54e96a37b6 05-Oct-2012 Tor Norbye <tnorbye@google.com> 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)

Change-Id: Id618183a04f4402bed046664cbf98ee6c764ef1f
roperty/editor/presentation/ButtonPropertyEditorPresentation.java
roperty/table/PropertyTable.java
f38ceabb9b297d5fec04b992695424853967ba74 16-Jul-2012 Tor Norbye <tnorbye@google.com> Prevent NPE in Property Sheet code

Change-Id: I38d5af59962ae8d0f3f41c5f238fd00d0b712e06
roperty/editor/AbstractTextPropertyEditor.java
767eb85ab3a32c1a9621eca167863e625b0927cc 06-Jun-2012 Tor Norbye <tnorbye@google.com> 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.

Change-Id: I0a006f594266cce248b91d065f4d438659b1743b
roperty/editor/AbstractTextPropertyEditor.java
1f6650ac4338fe0eab9874f72cee21c231412d31 15-May-2012 Tor Norbye <tnorbye@google.com> 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.

Change-Id: I8b90e2b3feb2b91a1f548e66bc5294b265aacd11
roperty/editor/AbstractTextPropertyEditor.java
765e52e2d30d0754625b8c7af6c36e93612f15be 05-Apr-2012 Tor Norbye <tnorbye@google.com> Add WindowBuilder propertysheet code. See README.txt for details.

This reverts commit b33fa4c8ce6b3d2c10eaa92c5c26019d7326bd4c.

Change-Id: I763357c42f933a52eda9b52988b785e092eac424
odelMessages.java
odelMessages.properties
roperty/ComplexProperty.java
roperty/EmptyProperty.java
roperty/Property.java
roperty/PropertyManager.java
roperty/category/PropertyCategory.java
roperty/category/PropertyCategoryProvider.java
roperty/category/PropertyCategoryProviders.java
roperty/editor/AbstractComboBoxPropertyEditor.java
roperty/editor/AbstractComboPropertyEditor.java
roperty/editor/AbstractListPropertyEditor.java
roperty/editor/AbstractTextPropertyEditor.java
roperty/editor/BooleanObjectPropertyEditor.java
roperty/editor/BooleanPropertyEditor.java
roperty/editor/CharacterPropertyEditor.java
roperty/editor/DoubleObjectPropertyEditor.java
roperty/editor/DoublePropertyEditor.java
roperty/editor/EnumerationValuesPropertyEditor.java
roperty/editor/FloatPropertyEditor.java
roperty/editor/ITextValuePropertyEditor.java
roperty/editor/IValueSourcePropertyEditor.java
roperty/editor/IntegerObjectPropertyEditor.java
roperty/editor/IntegerPropertyEditor.java
roperty/editor/LocalePropertyEditor.java
roperty/editor/LongObjectPropertyEditor.java
roperty/editor/LongPropertyEditor.java
roperty/editor/PropertyDescriptorEditorProvider.java
roperty/editor/PropertyEditor.java
roperty/editor/PropertyEditorProvider.java
roperty/editor/ShortObjectPropertyEditor.java
roperty/editor/ShortPropertyEditor.java
roperty/editor/StringArrayPropertyEditor.java
roperty/editor/StringComboPropertyEditor.java
roperty/editor/StringListPropertyEditor.java
roperty/editor/TextControlActionsManager.java
roperty/editor/TextDialogPropertyEditor.java
roperty/editor/TextDisplayPropertyEditor.java
roperty/editor/complex/IComplexPropertyEditor.java
roperty/editor/presentation/ButtonPropertyEditorPresentation.java
roperty/editor/presentation/ButtonPropertyEditorPresentationImpl.java
roperty/editor/presentation/ButtonPropertyEditorPresentationImplMac.java
roperty/editor/presentation/CompoundPropertyEditorPresentation.java
roperty/editor/presentation/PropertyEditorPresentation.java
roperty/editor/string/StringPropertyDialog.java
roperty/editor/string/StringPropertyEditor.java
roperty/table/HtmlTooltipHelper.java
roperty/table/IPropertyExceptionHandler.java
roperty/table/IPropertyTooltipSite.java
roperty/table/PropertyTable.java
roperty/table/PropertyTableTooltipHelper.java
roperty/table/PropertyTooltipProvider.java
roperty/table/PropertyTooltipTextProvider.java
roperty/table/Tooltip.css
b33fa4c8ce6b3d2c10eaa92c5c26019d7326bd4c 03-Apr-2012 Tor Norbye <tnorbye@google.com> Revert "Add WindowBuilder propertysheet code. See README.txt for details."

This reverts commit b13cc3c964fee8f16bfbf4bd42ad0631c4cf7889.
odelMessages.java
odelMessages.properties
roperty/ComplexProperty.java
roperty/EmptyProperty.java
roperty/Property.java
roperty/PropertyManager.java
roperty/category/PropertyCategory.java
roperty/category/PropertyCategoryProvider.java
roperty/category/PropertyCategoryProviders.java
roperty/editor/AbstractComboBoxPropertyEditor.java
roperty/editor/AbstractComboPropertyEditor.java
roperty/editor/AbstractListPropertyEditor.java
roperty/editor/AbstractTextPropertyEditor.java
roperty/editor/BooleanObjectPropertyEditor.java
roperty/editor/BooleanPropertyEditor.java
roperty/editor/CharacterPropertyEditor.java
roperty/editor/DoubleObjectPropertyEditor.java
roperty/editor/DoublePropertyEditor.java
roperty/editor/EnumerationValuesPropertyEditor.java
roperty/editor/FloatPropertyEditor.java
roperty/editor/ITextValuePropertyEditor.java
roperty/editor/IValueSourcePropertyEditor.java
roperty/editor/IntegerObjectPropertyEditor.java
roperty/editor/IntegerPropertyEditor.java
roperty/editor/LocalePropertyEditor.java
roperty/editor/LongObjectPropertyEditor.java
roperty/editor/LongPropertyEditor.java
roperty/editor/PropertyDescriptorEditorProvider.java
roperty/editor/PropertyEditor.java
roperty/editor/PropertyEditorProvider.java
roperty/editor/ShortObjectPropertyEditor.java
roperty/editor/ShortPropertyEditor.java
roperty/editor/StringArrayPropertyEditor.java
roperty/editor/StringComboPropertyEditor.java
roperty/editor/StringListPropertyEditor.java
roperty/editor/TextControlActionsManager.java
roperty/editor/TextDialogPropertyEditor.java
roperty/editor/TextDisplayPropertyEditor.java
roperty/editor/complex/IComplexPropertyEditor.java
roperty/editor/presentation/ButtonPropertyEditorPresentation.java
roperty/editor/presentation/ButtonPropertyEditorPresentationImpl.java
roperty/editor/presentation/ButtonPropertyEditorPresentationImplMac.java
roperty/editor/presentation/CompoundPropertyEditorPresentation.java
roperty/editor/presentation/PropertyEditorPresentation.java
roperty/editor/string/StringPropertyDialog.java
roperty/editor/string/StringPropertyEditor.java
roperty/table/HtmlTooltipHelper.java
roperty/table/IPropertyExceptionHandler.java
roperty/table/IPropertyTooltipSite.java
roperty/table/PropertyTable.java
roperty/table/PropertyTableTooltipHelper.java
roperty/table/PropertyTooltipProvider.java
roperty/table/PropertyTooltipTextProvider.java
roperty/table/Tooltip.css
b13cc3c964fee8f16bfbf4bd42ad0631c4cf7889 23-Mar-2012 Tor Norbye <tnorbye@google.com> Add WindowBuilder propertysheet code. See README.txt for details.

This reverts commit c0ecc89c7fa48c6e5ab3c7635863a6e8d2b28137.
odelMessages.java
odelMessages.properties
roperty/ComplexProperty.java
roperty/EmptyProperty.java
roperty/Property.java
roperty/PropertyManager.java
roperty/category/PropertyCategory.java
roperty/category/PropertyCategoryProvider.java
roperty/category/PropertyCategoryProviders.java
roperty/editor/AbstractComboBoxPropertyEditor.java
roperty/editor/AbstractComboPropertyEditor.java
roperty/editor/AbstractListPropertyEditor.java
roperty/editor/AbstractTextPropertyEditor.java
roperty/editor/BooleanObjectPropertyEditor.java
roperty/editor/BooleanPropertyEditor.java
roperty/editor/CharacterPropertyEditor.java
roperty/editor/DoubleObjectPropertyEditor.java
roperty/editor/DoublePropertyEditor.java
roperty/editor/EnumerationValuesPropertyEditor.java
roperty/editor/FloatPropertyEditor.java
roperty/editor/ITextValuePropertyEditor.java
roperty/editor/IValueSourcePropertyEditor.java
roperty/editor/IntegerObjectPropertyEditor.java
roperty/editor/IntegerPropertyEditor.java
roperty/editor/LocalePropertyEditor.java
roperty/editor/LongObjectPropertyEditor.java
roperty/editor/LongPropertyEditor.java
roperty/editor/PropertyDescriptorEditorProvider.java
roperty/editor/PropertyEditor.java
roperty/editor/PropertyEditorProvider.java
roperty/editor/ShortObjectPropertyEditor.java
roperty/editor/ShortPropertyEditor.java
roperty/editor/StringArrayPropertyEditor.java
roperty/editor/StringComboPropertyEditor.java
roperty/editor/StringListPropertyEditor.java
roperty/editor/TextControlActionsManager.java
roperty/editor/TextDialogPropertyEditor.java
roperty/editor/TextDisplayPropertyEditor.java
roperty/editor/complex/IComplexPropertyEditor.java
roperty/editor/presentation/ButtonPropertyEditorPresentation.java
roperty/editor/presentation/ButtonPropertyEditorPresentationImpl.java
roperty/editor/presentation/ButtonPropertyEditorPresentationImplMac.java
roperty/editor/presentation/CompoundPropertyEditorPresentation.java
roperty/editor/presentation/PropertyEditorPresentation.java
roperty/editor/string/StringPropertyDialog.java
roperty/editor/string/StringPropertyEditor.java
roperty/table/HtmlTooltipHelper.java
roperty/table/IPropertyExceptionHandler.java
roperty/table/IPropertyTooltipSite.java
roperty/table/PropertyTable.java
roperty/table/PropertyTableTooltipHelper.java
roperty/table/PropertyTooltipProvider.java
roperty/table/PropertyTooltipTextProvider.java
roperty/table/Tooltip.css
c0ecc89c7fa48c6e5ab3c7635863a6e8d2b28137 22-Mar-2012 Tor Norbye <tnorbye@google.com> Revert "Add WindowBuilder propertysheet code. See README.txt for details."

This reverts commit 562c581f49027009d6e99ba7b0162c53a051b1c4.
odelMessages.java
odelMessages.properties
roperty/ComplexProperty.java
roperty/EmptyProperty.java
roperty/Property.java
roperty/PropertyManager.java
roperty/category/PropertyCategory.java
roperty/category/PropertyCategoryProvider.java
roperty/category/PropertyCategoryProviders.java
roperty/editor/AbstractComboBoxPropertyEditor.java
roperty/editor/AbstractComboPropertyEditor.java
roperty/editor/AbstractListPropertyEditor.java
roperty/editor/AbstractTextPropertyEditor.java
roperty/editor/BooleanObjectPropertyEditor.java
roperty/editor/BooleanPropertyEditor.java
roperty/editor/CharacterPropertyEditor.java
roperty/editor/DoubleObjectPropertyEditor.java
roperty/editor/DoublePropertyEditor.java
roperty/editor/EnumerationValuesPropertyEditor.java
roperty/editor/FloatPropertyEditor.java
roperty/editor/ITextValuePropertyEditor.java
roperty/editor/IValueSourcePropertyEditor.java
roperty/editor/IntegerObjectPropertyEditor.java
roperty/editor/IntegerPropertyEditor.java
roperty/editor/LocalePropertyEditor.java
roperty/editor/LongObjectPropertyEditor.java
roperty/editor/LongPropertyEditor.java
roperty/editor/PropertyDescriptorEditorProvider.java
roperty/editor/PropertyEditor.java
roperty/editor/PropertyEditorProvider.java
roperty/editor/ShortObjectPropertyEditor.java
roperty/editor/ShortPropertyEditor.java
roperty/editor/StringArrayPropertyEditor.java
roperty/editor/StringComboPropertyEditor.java
roperty/editor/StringListPropertyEditor.java
roperty/editor/TextControlActionsManager.java
roperty/editor/TextDialogPropertyEditor.java
roperty/editor/TextDisplayPropertyEditor.java
roperty/editor/complex/IComplexPropertyEditor.java
roperty/editor/presentation/ButtonPropertyEditorPresentation.java
roperty/editor/presentation/ButtonPropertyEditorPresentationImpl.java
roperty/editor/presentation/ButtonPropertyEditorPresentationImplMac.java
roperty/editor/presentation/CompoundPropertyEditorPresentation.java
roperty/editor/presentation/PropertyEditorPresentation.java
roperty/editor/string/StringPropertyDialog.java
roperty/editor/string/StringPropertyEditor.java
roperty/table/HtmlTooltipHelper.java
roperty/table/IPropertyExceptionHandler.java
roperty/table/IPropertyTooltipSite.java
roperty/table/PropertyTable.java
roperty/table/PropertyTableTooltipHelper.java
roperty/table/PropertyTooltipProvider.java
roperty/table/PropertyTooltipTextProvider.java
roperty/table/Tooltip.css
562c581f49027009d6e99ba7b0162c53a051b1c4 22-Mar-2012 Tor Norbye <tnorbye@google.com> Add WindowBuilder propertysheet code. See README.txt for details.

Change-Id: I1274fe2c46805731d89ad75dd10419974a399a06
odelMessages.java
odelMessages.properties
roperty/ComplexProperty.java
roperty/EmptyProperty.java
roperty/Property.java
roperty/PropertyManager.java
roperty/category/PropertyCategory.java
roperty/category/PropertyCategoryProvider.java
roperty/category/PropertyCategoryProviders.java
roperty/editor/AbstractComboBoxPropertyEditor.java
roperty/editor/AbstractComboPropertyEditor.java
roperty/editor/AbstractListPropertyEditor.java
roperty/editor/AbstractTextPropertyEditor.java
roperty/editor/BooleanObjectPropertyEditor.java
roperty/editor/BooleanPropertyEditor.java
roperty/editor/CharacterPropertyEditor.java
roperty/editor/DoubleObjectPropertyEditor.java
roperty/editor/DoublePropertyEditor.java
roperty/editor/EnumerationValuesPropertyEditor.java
roperty/editor/FloatPropertyEditor.java
roperty/editor/ITextValuePropertyEditor.java
roperty/editor/IValueSourcePropertyEditor.java
roperty/editor/IntegerObjectPropertyEditor.java
roperty/editor/IntegerPropertyEditor.java
roperty/editor/LocalePropertyEditor.java
roperty/editor/LongObjectPropertyEditor.java
roperty/editor/LongPropertyEditor.java
roperty/editor/PropertyDescriptorEditorProvider.java
roperty/editor/PropertyEditor.java
roperty/editor/PropertyEditorProvider.java
roperty/editor/ShortObjectPropertyEditor.java
roperty/editor/ShortPropertyEditor.java
roperty/editor/StringArrayPropertyEditor.java
roperty/editor/StringComboPropertyEditor.java
roperty/editor/StringListPropertyEditor.java
roperty/editor/TextControlActionsManager.java
roperty/editor/TextDialogPropertyEditor.java
roperty/editor/TextDisplayPropertyEditor.java
roperty/editor/complex/IComplexPropertyEditor.java
roperty/editor/presentation/ButtonPropertyEditorPresentation.java
roperty/editor/presentation/ButtonPropertyEditorPresentationImpl.java
roperty/editor/presentation/ButtonPropertyEditorPresentationImplMac.java
roperty/editor/presentation/CompoundPropertyEditorPresentation.java
roperty/editor/presentation/PropertyEditorPresentation.java
roperty/editor/string/StringPropertyDialog.java
roperty/editor/string/StringPropertyEditor.java
roperty/table/HtmlTooltipHelper.java
roperty/table/IPropertyExceptionHandler.java
roperty/table/IPropertyTooltipSite.java
roperty/table/PropertyTable.java
roperty/table/PropertyTableTooltipHelper.java
roperty/table/PropertyTooltipProvider.java
roperty/table/PropertyTooltipTextProvider.java
roperty/table/Tooltip.css