Buggy code:
public final class CheckBoxPropertyEditorPresentation extends ValuePropertyEditorPresentation { private Button checkbox ; public CheckBoxPropertyEditorPresentation ( final FormComponentPart part , final SwtPresentation parent , final Composite composite ) { } @ Override protected void createContents ( final Composite parent ) { final PropertyEditorPart part = part ( ) ; final CheckBoxPropertyEditorPresentation . CheckboxLayout checkboxLayout ; final String checkboxLayoutHint = part . definition ( ) . getHint ( HINT_CHECKBOX_LAYOUT ) ; if ( checkboxLayoutHint == null ) { checkboxLayout = CheckBoxPropertyEditorPresentation . CheckboxLayout . TRAILING_LABEL ; } else if ( checkboxLayoutHint . equalsIgnoreCase ( HINT_VALUE_CHECKBOX_LAYOUT_LEADING_LABEL ) ) { checkboxLayout = CheckBoxPropertyEditorPresentation . CheckboxLayout . LEADING_LABEL ; } else if ( checkboxLayoutHint . equalsIgnoreCase ( HINT_VALUE_CHECKBOX_LAYOUT_TRAILING_LABEL ) ) { checkboxLayout = CheckBoxPropertyEditorPresentation . CheckboxLayout . TRAILING_LABEL ; } else if ( checkboxLayoutHint . equalsIgnoreCase ( HINT_VALUE_CHECKBOX_LAYOUT_TRAILING_LABEL_INDENTED ) ) { checkboxLayout = CheckBoxPropertyEditorPresentation . CheckboxLayout . TRAILING_LABEL_INDENTED ; } else { checkboxLayout = CheckBoxPropertyEditorPresentation . CheckboxLayout . TRAILING_LABEL ; } final Composite composite = createMainComposite ( parent , new CreateMainCompositeDelegate ( part ) { @ Override public boolean getShowLabel ( ) { if ( ( checkboxLayout == ( CheckBoxPropertyEditorPresentation . CheckboxLayout . TRAILING_LABEL ) ) || ( checkboxLayout == ( CheckBoxPropertyEditorPresentation . CheckboxLayout . TRAILING_LABEL_INDENTED ) ) ) { return false ; } else { return super . getShowLabel ( ) ; } } @ Override public boolean getSpanBothColumns ( ) { if ( checkboxLayout == ( CheckBoxPropertyEditorPresentation . CheckboxLayout . TRAILING_LABEL ) ) { return true ; } else { return super . getSpanBothColumns ( ) ; } } } ) ; final boolean isDeprecated = property ( ) . definition ( ) . hasAnnotation ( Deprecated . class ) ; composite . setLayout ( GridLayoutUtil . glspacing ( GridLayoutUtil . glayout ( ( isDeprecated ? 3 : 2 ) , 0 , 0 ) , 2 ) ) ; final PropertyEditorAssistDecorator decorator = createDecorator ( composite ) ; decorator . control ( ) . setLayoutData ( GridLayoutUtil . gdvalign ( GridLayoutUtil . gd ( ) , CENTER ) ) ; this . checkbox = new Button ( composite , SWT . CHECK ) ; this . checkbox . setLayoutData ( GridLayoutUtil . gd ( ) ) ; if ( checkboxLayout != ( CheckBoxPropertyEditorPresentation . CheckboxLayout . LEADING_LABEL ) ) { final Runnable updateLabelOp = new Runnable ( ) { public void run ( ) { CheckBoxPropertyEditorPresentation . this . checkbox . setText ( part . label ( FIRST_WORD_ONLY , true ) ) ; } } ; attachPartListener ( new org . eclipse . sapphire . FilteredListener < LabelChangedEvent > ( ) { @ Override protected void handleTypedEvent ( final LabelChangedEvent event ) { updateLabelOp . run ( ) ; layout ( ) ; } } ) ; updateLabelOp . run ( ) ; } if ( isDeprecated ) { final Control deprecationMarker = createDeprecationMarker ( composite ) ; deprecationMarker . setLayoutData ( GridLayoutUtil . gdhindent ( GridLayoutUtil . gdhfill ( ) , 3 ) ) ; } this . checkbox . getAccessible ( ) . addAccessibleListener ( new AccessibleAdapter ( ) { @ Override public void getName ( final AccessibleEvent event ) { <START_BUG> event . result = property ( ) . definition ( ) . getLabel ( true , NO_CAPS , true ) ; <END_BUG> } } ) ; this . checkbox . addSelectionListener ( new SelectionAdapter ( ) { public void widgetSelected ( final SelectionEvent event ) { final boolean value = CheckBoxPropertyEditorPresentation . this . checkbox . getSelection ( ) ; setPropertyValue ( String . valueOf ( value ) ) ; } } ) ; decorator . addEditorControl ( composite ) ; addControl ( this . checkbox ) ; } @ Override protected void handlePropertyChangedEvent ( ) { } @ Override protected void handleFocusReceivedEvent ( ) { } @ Override public void dispose ( ) { } public static final class Factory extends PropertyEditorPresentationFactory { @ Override public PropertyEditorPresentation create ( final PropertyEditorPart part , final SwtPresentation parent , final Composite composite ) { } } private enum CheckboxLayout { LEADING_LABEL , TRAILING_LABEL , TRAILING_LABEL_INDENTED ; } }

Fix:
event . result = property ( ) . definition ( ) . getLabel ( true , NO_CAPS , false ) ;