Get model file location of current editing diagram [message #1698955] |
Fri, 19 June 2015 03:35  |
Eclipse User |
|
|
|
Hi folks,
After having a model called club (club.ecore) and Sirius UI of it (club.odesign), I created a new Sirius model project then make a new model file inside by using "Example EMF Model Creation Wizards", let say the name is: example.club.
And I extend the Sirius Tab bar in diagram editor to have an addition button named "Check".
When click to "Check", I want to access to example.club to do some processing on this file.
Could you teach me how to get the file location of the model file under the Diagram?
When we change something in Diagram, the model file reflect according to the change. So Sirius handle the mapping between the diagram and the model file. But I can not find it yet, please help me. Sorry if it is naive question because I am Sirius newbie.
Regards,
Chau Nguyen
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06153 seconds