Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Save key value pairs
Save key value pairs [message #659390] Sun, 13 March 2011 14:34 Go to next message
Ralph Gerbig is currently offline Ralph GerbigFriend
Messages: 702
Registered: November 2009
Senior Member
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
Re: Save key value pairs [message #659397 is a reply to message #659390] Sun, 13 March 2011 15:33 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 30541
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
Previous Topic:Multiple branch merging in CDO
Next Topic:[CDO] H2 support
Goto Forum:
  


Current Time: Tue Oct 15 01:19:58 GMT 2019

Powered by FUDForum. Page generated in 0.01968 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top