Re: EMF/GMF visual editor generation - Changing the containment of elements [message #143250] |
Wed, 18 July 2007 09:41  |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
NyenVanTok,
Your question sounds specific to GMF, so I've replied to include the GMF
newsgroup in the "to" list of the reply. This should bring the question
to the attention of the correct people and a subsequent reply should
appear on both newsgroups. Please direct future GMF-specific questions
directly to the GMF newsgroup.
nyenvantok wrote:
> Hey hi,
>
> I am currently working on some sort of repository system for EMF objects.
>
> I encounter a problem, where I have a set of EMF elements (C) which are logically contained in an EMF element A.
>
> However, this should only be a view, phsyically I want those elements C to be saved in an EMF object B. I would save references between the Cs and the A later too, in order to be able to reconstruct the complete view transparently.
>
> Both EMF elements, A and B, have such containment features and are be capable of holding the EMF objects C.
>
> I have used the EMF / GMF generator chain to create the visual editor based on my ecore model. The initial idea was to create the visual editor for the "view" containment and change its editingPolicies and other classes so that they point to the Object B and thus save the Elements there.
>
> Unfortunately it is not working, once I place elements on the pane, the are not drawn and not reflected in the xmi file. Somewhere I am missing an important detail.
>
> I have tried a lot of other variations and was not able to succeed. By now I am running out of ideas.
>
> So, if you have any, please help!
> - thanks.
>
> NyenVanTok
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.07739 seconds