Skip to main content

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

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
(, 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,
Previous Topic:bug in UML validation
Next Topic:Bug in stereotype's property setting: MARTE, sw_SchedulableResource, entrypoints
Goto Forum:

Current Time: Sun Aug 09 18:18:39 GMT 2020

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

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

Back to the top