protected boolean customShouldTakeFocus(){
  if (customArea instanceof Label) {
    return false;
  }
  if (customArea instanceof CLabel) {
    return (customArea.getStyle() & SWT.NO_FOCUS) > 0;
  }
  return true;
}

protected boolean customShouldTakeFocus ( ) { if ( customArea instanceof Label ) { return false ; } if ( customArea instanceof CLabel ) { return ( customArea . getStyle ( ) & SWT . NO_FOCUS ) > 0 ; } return true ; }
return whether or not we should apply the workaround where we take focus for the default button or if that should be determined by the dialog . by default only return true if the custom area is a label or clabel that cannot take focus .
