Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » VSL Example on a UML model
VSL Example on a UML model [message #714279] Wed, 10 August 2011 08:09 Go to next message
Esteban Dugueperoux is currently offline Esteban Dugueperoux
Messages: 310
Registered: July 2009
Senior Member
Hi,

I would like to test VSL expressions edition on a UML model with Papyrus
but I have not found how to do this.
To test I have used the release 0.8.1 of Papyrus on Indigo, installing
the extras bundles from
http://download.eclipse.org/modeling/mdt/papyrus/extra/updates/nightly/indigo
containing the MARTE profile and the vsl editon plugins based on Xtext
(org.eclipse.papyrus.marte.vsl & org.eclipse.papyrus.marte.vsl.ui).
After creating a new Papyrus project of type UML, I have applied the
MARTE profile on the default uml::Package selecting all profiles
availables in MARTE, because I haven't any idea which profile to select,
I create a uml::Class with a uml::Property, I apply the Nfp stereotype
on the created Property and here I don't know how to edit vsl expression.

Have you some uml model examples with vsl expression on which I could
test vsl expression edition?

Best Regards.
Re: VSL Example on a UML model [message #723027 is a reply to message #714279] Wed, 07 September 2011 13:18 Go to previous messageGo to next message
Carlos Gomez is currently offline Carlos Gomez
Messages: 22
Registered: October 2010
Junior Member
Hi Esteban,

I'm looking for the same example!!!
Re: VSL Example on a UML model [message #731183 is a reply to message #723027] Fri, 30 September 2011 08:09 Go to previous messageGo to next message
Klaas Gadeyne is currently offline Klaas Gadeyne
Messages: 86
Registered: July 2009
Member
Hi both,

I think I figured it out (partly). You have to make sure that the 'embedded editor' is set to the VSL editor for the element that you want to edit. You can do this via the papyrus preferences.

However, and that's why I wrote 'partly' above, I succeeded in adding a VSL expression onto a Constraint element, but each time I click outside of the xtext embedded editor, all changes seem to get lost Sad

I got the idea from reading h t t p : / / omgmarte.org/node/889 (sorry for the format but it seems I am not allowed to use links yet)

Too bad this isn't documented (or do we miss something?) Sad
Re: VSL Example on a UML model [message #733772 is a reply to message #714279] Wed, 05 October 2011 15:34 Go to previous messageGo to next message
yashine Missing name is currently offline yashine Missing name
Messages: 12
Registered: June 2011
Junior Member
I am looking for the same example Sad
Re: VSL Example on a UML model [message #735227 is a reply to message #733772] Tue, 11 October 2011 09:51 Go to previous message
Klaas Gadeyne is currently offline Klaas Gadeyne
Messages: 86
Registered: July 2009
Member
Hi all,

See https: slash slash bugs.eclipse.org/bugs/show_bug.cgi?id=359866

(again, sorry for the ugly link)

It seems to work if you create an OpaqueExpression manually first.
Previous Topic:Getting Started: Requirement Management
Next Topic:Looking for Papyrus for EAST-ADL version 2.1.8
Goto Forum:
  


Current Time: Sun Sep 21 20:08:47 GMT 2014

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

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