Nesting doesnt work [message #1751613] |
Wed, 11 January 2017 22:35 |
Lainis 20 Messages: 26 Registered: November 2016 |
Junior Member |
|
|
Hi,
I'm trying to make a GMF editor of Archimate, I need to nest all elements inside Group element and nest an element inside itself (Contract). But none of these works.
Attahed the ecore which generated the GMF project
Do I need to modify some of edit parts classes code? or modify my ecore file?
If so, can you please help me with an example
Thanks
-
Attachment: myecore.xml
(Size: 59.98KB, Downloaded 196 times)
[Updated on: Thu, 12 January 2017 18:45] Report message to a moderator
|
|
|
|
|
|
|
|
Re: Nesting doesnt work [message #1751828 is a reply to message #1751806] |
Sun, 15 January 2017 14:27 |
|
I tried renaming it to ".ecore" and generating the editor as well. It works well, but it also fails with the 65535 bytes limit issue that Dimitris mentioned. Did you happen to tweak the .gmfgen or .genmodel models in some way?
|
|
|
|
|
Re: Nesting doesnt work [message #1751855 is a reply to message #1751835] |
Mon, 16 January 2017 10:08 |
|
Hi Lainis,
I was asking about the .gmfgen since it seemed you had managed to generate code for the original .ecore while Dimitris and I could not.
The editor works fine with the simplified .ecore: I have placed a Contract inside a Group, and then nested a Contract inside the first one. I only had to rename the file to .ecore and then right-click and use "Eugenia -> Generate GMF editor". Is there some problem with this editor?
No problem,
Antonio
|
|
|
|
Re: Nesting doesnt work [message #1752786 is a reply to message #1752308] |
Fri, 27 January 2017 10:08 |
|
Sorry for the delay - it's exam marking season . You have marked those EClasses as abstract in your .ecore (meaning you don't want to actually instantiate them). Therefore, Eugenia did not produce any tooling to create instances of them.
|
|
|
Powered by
FUDForum. Page generated in 0.03206 seconds