Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EMFForms] View model handling of derived classes
[EMFForms] View model handling of derived classes [message #1708312] Tue, 15 September 2015 12:19 Go to next message
Michael Kagel is currently offline Michael KagelFriend
Messages: 9
Registered: May 2015
Junior Member
Hi,

in my EMF model I have a class B which is derived from class A (different xcore files). Now I tried to create a view model for class B which should also contain some attributes of class A. But in the reference menu for a new control I only see the attributes of class B. How can I add a control to my view model for A attributes?

Best Regards

Michael Kagel
Re: [EMFForms] View model handling of derived classes [message #1708387 is a reply to message #1708312] Wed, 16 September 2015 07:32 Go to previous messageGo to next message
Jonas Helming is currently offline Jonas HelmingFriend
Messages: 699
Registered: July 2009
Senior Member
Hi,

do you use the "generate controls" action in the view model editor?

Best regards

Jonas

Am 15.09.2015 um 14:19 schrieb Michael Kagel:
> Hi,
>
> in my EMF model I have a class B which is derived from class A
> (different xcore files). Now I tried to create a view model for class B
> which should also contain some attributes of class A. But in the
> reference menu for a new control I only see the attributes of class B.
> How can I add a control to my view model for A attributes?
>
> Best Regards
>
> Michael Kagel


--
--

Jonas Helming

Get professional Eclipse developer support:

http://eclipsesource.com/en/services/developer-support/
Re: [EMFForms] View model handling of derived classes [message #1708621 is a reply to message #1708387] Fri, 18 September 2015 07:49 Go to previous message
Michael Kagel is currently offline Michael KagelFriend
Messages: 9
Registered: May 2015
Junior Member
Hi Jonas,

thank you for the quick answer. I found out that the problem comes from a fix I did in EMFForms to support xcore in view models.

Best Regards

Michael
Previous Topic:re
Next Topic:[EMF Forms] Redraw custom control
Goto Forum:
  


Current Time: Fri Apr 19 14:56:28 GMT 2024

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

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

Back to the top