Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EMF Forms](View models not rendered)
[EMF Forms] [message #1839506] Tue, 23 March 2021 04:19 Go to next message
sri pamarti is currently offline sri pamartiFriend
Messages: 19
Registered: August 2015
Junior Member
I have an xml that I was able to map to ecore via xsd mapping. I could successfully create/save/read xml files w/o any issues.
However, when I tried to create view models and use in generic editor, I couldn't render corresponding child node views .

In generic editor model navigator I see
platform://// url
  - Document root
    - Root node
      - <child node type> Child node 1
        - < grand child node type> Grand child node 1

Whenever I click on any child or grandchild or any deeply nested node no view is rendered in the "Detail View". I only see "Select a node in the tree to edit it".

Help is much appreciated.

Thanks
Sri
Re: [EMF Forms] [message #1839530 is a reply to message #1839506] Tue, 23 March 2021 12:25 Go to previous messageGo to next message
Jonas Helming is currently offline Jonas HelmingFriend
Messages: 109
Registered: September 2016
Senior Member
Hi,

could you try to generate default view models for the child node types and see whether that works and potentially solves the issue?
Also: is there any error logged?

Best regards,
Jonas


--
Jonas Helming
Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
Re: [EMF Forms] [message #1839539 is a reply to message #1839506] Tue, 23 March 2021 13:48 Go to previous messageGo to next message
sri pamarti is currently offline sri pamartiFriend
Messages: 19
Registered: August 2015
Junior Member
Hi Jonas,
Thank you for your response. I created new view model project and generated default view models as mentioned in the article.

Only root node view model works but none of the child models.

There are no errors in the log. Is there a way to turn on debugging?

Thanks
Sri
Re: [EMF Forms] [message #1839849 is a reply to message #1839539] Tue, 30 March 2021 07:44 Go to previous message
Eugen Neufeld is currently offline Eugen NeufeldFriend
Messages: 169
Registered: May 2015
Senior Member
Hi Sri,

which version of EMFForms are you using?
Can you paste the registration of the viewmodels in your plugin.xml?

Best,
Eugen



--
Eugen Neufeld

Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
Previous Topic:EMF - adding new model objects programmatically
Next Topic:[EMF Forms] Renderer or Factory
Goto Forum:
  


Current Time: Thu Dec 02 09:53:16 GMT 2021

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

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

Back to the top