Can EMFText be used inside Papyrus? [message #586320] |
Wed, 03 June 2009 14:39 |
Osmar Marchi dos Santos Messages: 8 Registered: July 2009 |
Junior Member |
|
|
Hi,
I know that in Papyrus it is possible to define certain "Effects" for a
given transition as an "OpaqueBehavior". When I define the body of this
"OpaqueBehavior", it can be added as a "Natural language".
I would like to know if it is possible to associate another type of
"Body" (defined by the user), e.g. an xUML-based action language, to the
list of possible bodies (besides "Natural language"). Moreover, would it
be possible to associate another Eclipse plugin, like EMFText
(http://st.inf.tu-dresden.de/reuseware/index.php/EMFText), to the box
containing the language "Body"? So that some automatic analysis of the
code being inserted can be done on the fly.
In other words, is it possible to extend the Papyrus tool this way? If
yes, what steps should I follow. Otherwise, can the tool be modified to
allow these extensions?
I think this approach would be very interesting because: (a) it allows
anyone to define a grammar for their desired (action) language; (b)
checking errors in this language would be detected on the fly (by
EMFText); (c) it would easily parse the language, generating the model for
the language (based on the meta-model of the language), making later
transformations easier.
Thanks in advance,
Osmar
|
|
|
Powered by
FUDForum. Page generated in 0.01999 seconds