Custom Data Binding [message #645884] |
Mon, 20 December 2010 17:39  |
Eclipse User |
|
|
|
This looks very interesting.
// *** ProductVersion ***
@Type( base = ProductVersion.class )
@XmlBinding( path = "version" )
@Label( standard = "version" )
@DefaultValue( "2.5" )
ValueProperty PROP_PRODUCT_VERSION = new ValueProperty( TYPE,
"ProductVersion" );
Value<ProductVersion> getProductVersion();
void setProductVersion( String value );
void setProductVersion( ProductVersion value );
I suppose, this may also work for my own or ICU4J datatypes?
Something like
Value<Unit> getUnit();
void setUnit(Unit unit);
Aiming for a Unit Converter using Sapphire.
Would that work?
Thanks,
Werner
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04618 seconds