|Re: Nested Properties in EMF [message #1008345 is a reply to message #1008169]
||Tue, 12 February 2013 00:37
| Ed Merks
Registered: July 2009
If I understand correctly from your last diagram, it's a matter of |
ensuring that getPropertyDescriptor for your ModelItemProvider returns
the set of all properties you want at the top level in the properties
view. I'd suggest having a look at
In this case it's showing how to merge the property descriptors provided
by the object referenced by a tree node as if they are properties of the
tree node itself. That type of approach should work for your example.
On 11/02/2013 10:06 AM, Stacey Hopkins wrote:
> Have an EMF RCP app that allows the user to create their own global properties (meta-type). Want the view behaviour to break the default behaviour of being shown in the treeview and shown in the properties view. There is a similar-ish case where we have done this (using the good EMF book) but this is when there was just a one to one containment relationship between the two EClasses. This new behaviour we want to allow the user to define many global properties and for these to be catgegorized as a global property.
> The attached pic is an example (although not exact) of the view we would like to do.
> Are current thinking is that we would have to create our own custom properties view. If this is correct is this a big undertaking? Any tips on things that should considered when doing this?
> Any help appreciated
Powered by FUDForum
. Page generated in 0.01830 seconds