Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Can EMFText be used inside Papyrus?
Can EMFText be used inside Papyrus? [message #586320] Wed, 03 June 2009 14:39
Osmar Marchi dos Santos is currently offline Osmar Marchi dos SantosFriend
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
Previous Topic:bug in UML validation
Next Topic:Bug in stereotype's property setting: MARTE, sw_SchedulableResource, entrypoints
Goto Forum:
  


Current Time: Fri Dec 19 00:39:13 GMT 2014

Powered by FUDForum. Page generated in 0.01521 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software