Unable to Edit Dynamic Ecore Model Instance [message #1837081] |
Thu, 21 January 2021 17:31  |
Ioannis Nearchou Messages: 18 Registered: February 2018 |
Junior Member |
|
|
Hello Everyone,
I have been trying to create example dynamic instances from a model I designed based on a system presented in a research paper, relevant to study regarding some of my own work. I am editing in Ecore context with Eclipse, creating dynamic instances of classes from the model here.
I loaded several resources into a few instances and have been able to edit those instances afterward. However, after several resource loads on different instances, I find that the dropdown arrow in the editor for changing attribute values in a given instance disappears. When I load a resource, I right-click on the top file (the instance itself), select "Load Resource..." and then proceed to do so.
The odd issue here is I find only some instances affected by this issue, but not all. I have attached an image for the Requirment class instance (called cameraRequirement) I have created, showing the arrow is missing, but also expanding the ecore model showing that there should be attributes to edit.
I am wondering if there may be something I am performing incorrectly with the instance resource loading step? Any insights would be greatly appreciated.
Thank you,
Ioannis Nearchou
|
|
|
|
Re: Unable to Edit Dynamic Ecore Model Instance [message #1837421 is a reply to message #1837097] |
Fri, 29 January 2021 16:38   |
Ioannis Nearchou Messages: 18 Registered: February 2018 |
Junior Member |
|
|
Hello Mr. Merks,
How are you? Thank you for the suggestions. Unfortunately, my error logs contain no information regarding loading errors. I tried this with a simpler model with just three classes: System, Analyzer, and Configuration. System has bidirectional composition relationships with both Analyzer and Configuration, while Analyzer and Configuration have a bidirectional association between them.
I get the same loading issue when loading my Configuration instance into an Analyzer instance, after connecting the Analyzer instance to System. It is at this time where the issue occurs. However, due to the association to System, which still has an arrow on its file to access its associations, I am able to change the values of Configuration and Analyzer attributes in the editor. I tried looking at the files themselves, and all of them seem to have association references written to each other. I am wondering if there are any further screenshots or other information that I could provide to help constrain the possible issues or where else I can check to find the resource loading issues?
Thank you,
Ioannis Nearchou
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02360 seconds