Tobias,
For the GenModel's properties that show Ecore model elements, we show
the child properties of those in
GenBaseItemProvider.GenItemPropertyDescriptor like this:
@Override
protected Object createPropertyValueWrapper(Object object,
Object propertyValue)
{
return propertyValue instanceof EModelElement ?
new PropertyValueWrapper(adapterFactory, object,
propertyValue, propertyValue) :
super.createPropertyValueWrapper(object,
propertyValue);
}
I'm not sure that answers the GMF question though...
tobias wrote:
Hello,
is there a way to show a reference's or a child's properties in an element's
property view, like it's been in early GMF?
Example:
Class A
String name_a
B ref_b
Class B
String name_b
Property View of A:
name_a:
+ ref_b
name_b
Another question: Can you tell me how to use the "FilterFlags"? Maybe they
could be of some use, too, but I couldn't figure out how use them...
Regards,
tobias
|