Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Modeling (top-level project) » Apply UML Profile to a model in an automatically way
Apply UML Profile to a model in an automatically way [message #758696] Thu, 24 November 2011 09:47 Go to next message
Juliet  is currently offline Juliet Friend
Messages: 2
Registered: November 2011
Junior Member
Hi everybody

I have a question to make you about UML profile.
It's possible to apply a UML profile to a model (example class diagram) in an automatic way?
I want to apply stereotype on UML elements automatically without applyng it once at time. Exists a way? Make sure that Eclipse apply stereotype to all elements, respecting the OCL constraints.
(i.e. I'have a class diagram Person, I want apply automatically stereotype Male on the classes that have a value "man" on an attribute sex)

If you help me I shall be grateful
thank you

Juliet
Re: Apply UML Profile to a model in an automatically way [message #758729 is a reply to message #758696] Thu, 24 November 2011 12:17 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 26287
Registered: July 2009
Senior Member
Juliet,

Which tools are you using? Papyrus? Please use eclipse.papyrus for
questions about that.


On 24/11/2011 10:47 AM, Juliet wrote:
> Hi everybody
>
> I have a question to make you about UML profile.
> It's possible to apply a UML profile to a model (example class
> diagram) in an automatic way?
> I want to apply stereotype on UML elements automatically without
> applyng it once at time. Exists a way? Make sure that Eclipse apply
> stereotype to all elements, respecting the OCL constraints.
> (i.e. I'have a class diagram Person, I want apply automatically
> stereotype Male on the classes that have a value "man" on an attribute
> sex)
>
> If you help me I shall be grateful
> thank you
>
> Juliet
Re: Apply UML Profile to a model in an automatically way [message #758911 is a reply to message #758729] Fri, 25 November 2011 08:45 Go to previous message
Juliet  is currently offline Juliet Friend
Messages: 2
Registered: November 2011
Junior Member
Ed,

yes I'm using papyrus
I've thought this might be the right section
nevermind

Previous Topic:How to create attributes using EMF API ?
Next Topic:Deferring Events of a Compound Command
Goto Forum:
  


Current Time: Mon Dec 22 08:39:38 GMT 2014

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

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