[EEF] Usage of view reference [message #551695] |
Mon, 09 August 2010 03:25  |
Eclipse User |
|
|
|
Originally posted by: harald.loehnert.brueckner.com
Hi,
I use EEF to edit my model with a FormEditor (EEFMasterDetailsBlock).
For showing the attributes of a single entity, everything works fine.
Now I would like to show the attributes of 2 entities, which have a
father/child relation in my model in a single view. I added a view
reference in the father's view pointing to the child's view. Now I can
see the child's attributes, but without any values, because I could not
figure out how to map the model-element to that view reference. In the
wiki the section "components model" at EEF User Guide is empty.
Can anybody help me with this topic.
Thanks,
Harald.
|
|
|
|
|
|
|
|
|
|
Re: [EEF] Usage of view reference [message #872651 is a reply to message #871239] |
Wed, 16 May 2012 10:30   |
Eclipse User |
|
|
|
Hi,
No, we were talking about a widget that can disply and edit properties
of a single composition reference between two elements.
The view reference is used in your case to display inside a properties
view another elements.
we are using this in EEF to display the documentation tab that is
inherited by all the eef elements.
it is not possible to display another elements data without modifying
the generated code.
hopes it helps,
Le 11/05/2012 16:45, Max Richter a écrit :
> Hi,
>
> I think I'm currently facing a similar issue with presenting properties
> of 2 different element levels on one property view. It differs a bit
> because it's not element and child element that shall be on one level
> but element and grand-child elements.
>
> My question is: what is the new widget that you talked about being
> available in the next release, you meant the AdvancedTableComposition?
> This works fine so far in my case for other element relations but I
> could not yet figure out why I'm not able to complement my existing form
> with yet another AdvancedTableComposition being populated with the
> grand-children of the element in question.
>
> Any hint is highly appreciated! Thanks, Max
--
Cheers,
Stéphane Bouchet, OBEO
|
|
|
Re: [EEF] Usage of view reference [message #1712148 is a reply to message #872651] |
Wed, 21 October 2015 10:34  |
Eclipse User |
|
|
|
Hello,
I am new to EEF and all EMF technologies, so sorry if something sounds stupid.
I'm searching for the same functionality as Harald. I have a parent and a child element. In the view I want to display the child's view separately and also as a reference in the parent's view. The child's properties can be viewed separately with all their data, but in the parent's view all the properties are empty. It seems there is not connection between the model and the reference view.
Should I do any mapping in the Properties Edition? I've tried the Element Binding Reference, but it's not what I am searching for.
I'm using EEF version 1.4.0.
Thank you in advance,
Roxana
|
|
|
Powered by
FUDForum. Page generated in 0.04440 seconds