Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 177684

Summary: [DataBinding] Make default converters and validators internal
Product: [Eclipse Project] Platform Reporter: Brad Reynolds <bradleyjames>
Component: UIAssignee: Brad Reynolds <bradleyjames>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: bokowski, djo
Version: 3.3   
Target Milestone: 3.3 M6   
Hardware: PC   
OS: All   
Whiteboard:
Bug Depends on: 177674    
Bug Blocks:    

Description Brad Reynolds CLA 2007-03-15 19:38:05 EDT
The default converters and validators provided by Data Binding don't need to be public since we default them in the update strategy.  After the changes from bug 177256 are applied the following classes need to be made internal.

* DateConversionSupport
* DateToStringConverter
* IdentityConverter
* StringToBooleanConverter
* StringToBooleanPrimitiveConverter
* StringToByteConverter
* StringToBytePrimitiveConverter
* StringToCharacterConverter
* StringToDateConverter
* StringToShortConverter
* StringToShortPrimitiveConverter
* ObjectToPrimitiveValidator
* ReadOnlyValidator
* String2BytePrimitiveValidator
* String2ByteValidator
* String2DateValidator
* String2DoublePrimitiveValidator
* String2DoubleValidator
* String2FloatPrimitiveValidator
* String2FloatValidator
* String2IntegerPrimitiveValidator
* String2IntegerValidator
* String2LongPrimitiveValidator
* String2LongValidator
* String2ShortPrimitiveValidator
* String2ShortValidator

The public converters will be:
* NumberToStringConverter
* StringToNumberConverter
*ToStringConverter

There will be no public validators.
Comment 1 Brad Reynolds CLA 2007-03-15 20:02:10 EDT
Boris's +1 can be seen on bug 177256 comment 7.
Comment 2 Mike Wilson CLA 2007-03-16 10:08:09 EDT
+1
Comment 3 Brad Reynolds CLA 2007-03-16 17:21:40 EDT
FIXED > 20070316.
Comment 4 Brad Reynolds CLA 2007-03-21 19:52:26 EDT
VERIFIED in I20070321-0010.