Well,
usually, if you have something parsing source code, it stores somewhere the range in the file and the file for each element. From that information, you can control a text pane by opening the file and selecting the right range.
If you draw a representation of your elements with Roassal, then you add, in the interaction of the visualisation, the code which plays with the text pane.
Thierry
________________________________________ De : moose-dev-bounces@iam.unibe.ch [moose-dev-bounces@iam.unibe.ch] de la part de Yuriy Tymchuk [yuriy.tymchuk@me.com] Envoyé : mercredi 9 avril 2014 18:25 À : Moose-related development Objet : [Moose-dev] Re: Relations with source code
On 09 Apr 2014, at 17:50, Goubier Thierry thierry.goubier@cea.fr wrote:
Le 09/04/2014 16:45, Yuriy Tymchuk a écrit :
Hi everyone.
I wander if there is any place I can read about the philosophy about how Moose is linked with a source code. I know that there are source anchors, and sourced entities. But as far as I can see, my entities do not have any anchors.
Right now I’m thinking that it would be cool to be able to browse a source code of any sourced entity that you have, but I’m not sure how this can be implemented.
This is the sort of things I do and its very cool :), especially combined with Roassal.
How do you do it?
Thierry
Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95 _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev