[EEF] Usage of view reference [message #551695] |
Mon, 09 August 2010 07: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 #552804 is a reply to message #551695] |
Fri, 13 August 2010 15:16 |
|
Hi Harald,
It's not yet possible to map model-element to element editor from referenced view. A new widget to display single composition relation (as father/child relation) will be available to the next release. For now, try to edit the generated propertiesEditionComponent class corresponding to father element in order to initialize the child part ( take a look inside initPart method).
Florian
|
|
|
|
|
Re: [EEF] Usage of view reference [message #623140 is a reply to message #551695] |
Fri, 13 August 2010 15:16 |
|
Hi Harald,
It's not yet possible to map model-element to element editor from referenced view. A new widget to display single composition relation (as father/child relation) will be available to the next release. For now, try to edit the generated propertiesEditionComponent class corresponding to father element in order to initialize the child part ( take a look inside initPart method).
Florian
|
|
|
|
|
|
Re: [EEF] Usage of view reference [message #872651 is a reply to message #871239] |
Wed, 16 May 2012 14:30 |
Stephane Bouchet Messages: 280 Registered: July 2009 |
Senior Member |
|
|
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
|
|
|
|
Powered by
FUDForum. Page generated in 0.04125 seconds