I was reading some examples and I saw PlainText. It seems to me that the idea of the Model Manager is to load in a solution a new Model from a file. In the case of PlainText, I can load a txt file. I read the source code and I can understand how it works, however I cannot test such a feature because I don't know how to load the file. For instance:
I created a file:
echo "The content of my file" > /home/myuser/Desktop/lala.txt
What I want to have is a model inside the solution which conforms to the language PlainText. The content of such a model must be "The content of my file". I am want to SEE the loaded model in the GUI.
I added the directory /home/myuser/Desktop/ in the dialog "Solution Properties -> External code -> Libraries" and I picked PlainText as Manager, but MPS doesn't load the file, or I least I cannot see it in the GUI under the solution in the Logical View.
This is a veeery dumb question, but the GUI is not natural to me. Or maybe I am understanding everything in the wrong way. Am I?
BTW, I want to do something similar with a different DSL, but it is impossible to develop without testing.