|
Re: Save key value pairs [message #659397 is a reply to message #659390] |
Sun, 13 March 2011 15:33 |
Ed Merks Messages: 33140 Registered: July 2009 |
Senior Member |
|
|
Ralph,
Certainly a properties view doesn't support adding properties
dynamically. You'd do that in the editor with child creation and then
you can edit the key/value of that entry. It's certainly possible to
display such key/value pairs as properties, but you'll have to learn
quite a bit about of how EMF Edit's property descriptors work. You
might look at how things like
TreeNodeItemProvider/MappingItemProvider.getPropertyDescript ors show
properties of other objects as if they were there own...
ralph. wrote:
> Hi all,
>
> I found the following solution to save key/value pairs
> http://wiki.eclipse.org/EMF/FAQ#How_do_I_create_a_Map_in_EMF .3F .
> Unfortunatly this does not seem to support the properties sheet. Is
> there any way to add enable the user to edit the list via the
> properties view? Is a alternative approach available?
>
> Thanks!!
>
> Ralph
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.02875 seconds