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

Bug 332987

Summary: Show in source doesn't work for mapExistanceToValue XML binding
Product: z_Archived Reporter: Konstantin Komissarchik <konstantin>
Component: SapphireAssignee: Konstantin Komissarchik <konstantin>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: ling.hao
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Konstantin Komissarchik CLA 2010-12-20 19:02:11 EST
Consider the following property definition...

@Type( base = Boolean.class )
@XmlValueBinding( path = "foo", mapExistanceToValue = "true" )
@DefaultValue( text = "false" )

ValueProperty PROP_FOO = new ValueProperty( TYPE, "Foo" );
    
Value<Boolean> getFoo();
void setFoo( String value );
void setFoo( Boolean value );

The show in source feature does not locate the element that the property is bound to.
Comment 1 Konstantin Komissarchik CLA 2011-01-04 15:12:17 EST
Fixed.
Comment 2 Ling Hao CLA 2011-01-05 18:37:08 EST
Verified.