Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsDocumentation on Profile creation
https://www.eclipse.org/forums/index.php/mv/msg/278560/782475/#msg_782475
I'm starting to use Papyrus to build a DSL using a UML profile. The only documentation that I have found so far is at the old Papyrus site and is outdated, since at the least the first few steps do not work in Eclipse.
Is there any recent documentation I could follow, tutorials, courses or the like?
Thank you.
]]>Luís de Sousa2012-01-23T19:30:00-00:00Re: Documentation on Profile creation
https://www.eclipse.org/forums/index.php/mv/msg/278560/785185/#msg_785185
Thank you.]]>Luís de Sousa2012-01-28T16:21:24-00:00Re: Documentation on Profile creation
https://www.eclipse.org/forums/index.php/mv/msg/278560/786633/#msg_786633
Create the profile:
- Create a new Papyrus model
- in the wizard, do "next" until you are on the "Select Language of
the Diagram" page
- Choose "profile", then "next"
- select "uml profile diagram"
- "finish"
Add stereotype:
- select the diagram
- add "stereotype" from the palette, name it MyStereotype.
- add "import metaclass" from the palette, choose "Class" from the
popup window.
- add an "extension" from your stereotype to the imported metaclass.
- Save your profile and accept the options
You have says that you want a stereotype names MyStereotype that can
be applied on uml Classes
Now, you can use your profile in another uml model:
- create a new uml model
- select the root model
- in the property view, select "profile", "profile application", click
on "+"
- choose your new profile
- Now, you can apply your stereotype MyStereotype on your classes.
Luís de Sousa a écrit :
> Dear all,
>
> I'm starting to use Papyrus to build a DSL using a UML profile. The only
> documentation that I have found so far is at
> http://www.papyrusuml.org/scripts/home/publigen/content/templates/show.asp?P=148&L=EN
> and is outdated, since at the least the first few steps do not work in
> Eclipse.
>
> Is there any recent documentation I could follow, tutorials, courses or
> the like?
>
> Thank you.
>
>]]>Cedric Dumoulin2012-01-30T17:00:00-00:00Re: Documentation on Profile creation
https://www.eclipse.org/forums/index.php/mv/msg/278560/786762/#msg_786762
I think a small step-by-step tutorial, using the images already collected for the presentation, would be very handy for newbies like me.