I am trying to invoke SModelListener to listen the changes in Model for my DSL, I was able to build MPS RCP as a standalone IDE.
However for Accessing the Model using Open API , I could not do. I saw the documentation @ https://confluence.jetbrains.com/display/MPSD31/Open+API+-+accessing+models+from+code
as well as the hands on @ http://confluence.jetbrains.com/pages/viewpage.action?pageId=57281182
I am not able to understand where we need to write the Java Code and how we can get access to our Models from sandbox which listen changes in Model and do something.
For eg: I have tried Constant example and wants to write Listener logic? Does any one have any sample example or code.
For you reference I am attaching my Constant Project where I have create a Solution name PersistenceConstant and a Model named Listener.
Please suggest !!!