Skip to main content



      Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EMF Forms](View models not rendered)
[EMF Forms] [message #1839506] Tue, 23 March 2021 00:19 Go to next message
Eclipse UserFriend
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 08:25 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: [EMF Forms] [message #1839539 is a reply to message #1839506] Tue, 23 March 2021 09:48 Go to previous messageGo to next message
Eclipse UserFriend
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 03:44 Go to previous message
Eclipse UserFriend
Hi Sri,

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

Best,
Eugen

Previous Topic:EMF - adding new model objects programmatically
Next Topic:[EMF Forms] Renderer or Factory
Goto Forum:
  


Current Time: Mon Jun 23 09:40:20 EDT 2025

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

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

Back to the top