Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EEF] Usage of view reference
[EEF] Usage of view reference [message #551695] Mon, 09 August 2010 07:25 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Florian Barbin is currently offline Florian BarbinFriend
Messages: 270
Registered: August 2010
Senior Member
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 #554244 is a reply to message #552804] Fri, 20 August 2010 17:18 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: harald.loehnert.brueckner.com

Hi Florian,

thanks for your answer.
I will try to follow your proposal.
Ist there any schedule for the next release of EEF?

Regards,
Harald.
Re: [EEF] Usage of view reference [message #554740 is a reply to message #554244] Tue, 24 August 2010 09:46 Go to previous messageGo to next message
Stephane Bouchet is currently offline Stephane BouchetFriend
Messages: 280
Registered: July 2009
Senior Member
HI Harald,

since helios release, EEF is following the same schedule.

There will be a 0.8.1 maintenace release in september, 24th.

but the new widget you want will be available in the 0.9.0 release.



Le 20/08/2010 19:18, Harald Löhnert a écrit :
> Hi Florian,
>
> thanks for your answer.
> I will try to follow your proposal.
> Ist there any schedule for the next release of EEF?
>
> Regards,
> Harald.


--
Cheers,

Stéphane Bouchet, OBEO
Re: [EEF] Usage of view reference [message #623140 is a reply to message #551695] Fri, 13 August 2010 15:16 Go to previous messageGo to next message
Florian Barbin is currently offline Florian BarbinFriend
Messages: 270
Registered: August 2010
Senior Member
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 #623147 is a reply to message #623140] Fri, 20 August 2010 17:18 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: harald.loehnert.brueckner.com

Hi Florian,

thanks for your answer.
I will try to follow your proposal.
Ist there any schedule for the next release of EEF?

Regards,
Harald.
Re: [EEF] Usage of view reference [message #623150 is a reply to message #554244] Tue, 24 August 2010 09:46 Go to previous messageGo to next message
Stephane Bouchet is currently offline Stephane BouchetFriend
Messages: 280
Registered: July 2009
Senior Member
HI Harald,

since helios release, EEF is following the same schedule.

There will be a 0.8.1 maintenace release in september, 24th.

but the new widget you want will be available in the 0.9.0 release.



Le 20/08/2010 19:18, Harald Löhnert a écrit :
> Hi Florian,
>
> thanks for your answer.
> I will try to follow your proposal.
> Ist there any schedule for the next release of EEF?
>
> Regards,
> Harald.


--
Cheers,

Stéphane Bouchet, OBEO
Re: [EEF] Usage of view reference [message #871239 is a reply to message #623150] Fri, 11 May 2012 14:45 Go to previous messageGo to next message
Max Richter is currently offline Max RichterFriend
Messages: 3
Registered: May 2012
Junior Member
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
Re: [EEF] Usage of view reference [message #872651 is a reply to message #871239] Wed, 16 May 2012 14:30 Go to previous messageGo to next message
Stephane Bouchet is currently offline Stephane BouchetFriend
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
Re: [EEF] Usage of view reference [message #1712148 is a reply to message #872651] Wed, 21 October 2015 14:34 Go to previous message
Roxana Paun is currently offline Roxana PaunFriend
Messages: 7
Registered: October 2015
Junior Member
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
Previous Topic:[EMF Forms] 1.7.1: target definition broken?
Next Topic:Barcelona's Eclipse SDK not returning group model list
Goto Forum:
  


Current Time: Fri Apr 19 23:05:05 GMT 2024

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

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

Back to the top