Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » extending a profile
extending a profile [message #473955] Thu, 12 July 2007 11:23 Go to next message
Andrew Jackson is currently offline Andrew JacksonFriend
Messages: 24
Registered: July 2009
Junior Member
Hi,

I have a profile in which stereotypes that extend package and dependency
are defined. I can open up a model and apply these stereotype to packages
and dependencies in the model without a problem.

I then extended the profile. I added a stereotype that extends operation.
When i try to apply this new stereotype to the an operation element in the
model using the model editor - i dont see the my new stereotype as an
option for application to the selected model element.

Any ideas why this may be happening?
Best,
Andrew
Re: extending a profile [message #474198 is a reply to message #473955] Thu, 12 July 2007 13:32 Go to previous message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
Hi Andrew,

Make sure you ...

1. Redefine your profile: "UML Editor > Profile > Define"
2. Reapply your profile to the model in question : "UML Editor > Package >
Apply Profile ...".

- James.


"Andrew Jackson" <Andrew.Jackson@cs.tcd.ie> wrote in message
news:623861523f5408970c432e2ac8df57f8$1@www.eclipse.org...
> Hi,
>
> I have a profile in which stereotypes that extend package and dependency
> are defined. I can open up a model and apply these stereotype to packages
> and dependencies in the model without a problem.
>
> I then extended the profile. I added a stereotype that extends operation.
> When i try to apply this new stereotype to the an operation element in the
> model using the model editor - i dont see the my new stereotype as an
> option for application to the selected model element.
>
> Any ideas why this may be happening?
> Best,
> Andrew
>
Re: extending a profile [message #623655 is a reply to message #473955] Thu, 12 July 2007 13:32 Go to previous message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
Hi Andrew,

Make sure you ...

1. Redefine your profile: "UML Editor > Profile > Define"
2. Reapply your profile to the model in question : "UML Editor > Package >
Apply Profile ...".

- James.


"Andrew Jackson" <Andrew.Jackson@cs.tcd.ie> wrote in message
news:623861523f5408970c432e2ac8df57f8$1@www.eclipse.org...
> Hi,
>
> I have a profile in which stereotypes that extend package and dependency
> are defined. I can open up a model and apply these stereotype to packages
> and dependencies in the model without a problem.
>
> I then extended the profile. I added a stereotype that extends operation.
> When i try to apply this new stereotype to the an operation element in the
> model using the model editor - i dont see the my new stereotype as an
> option for application to the selected model element.
>
> Any ideas why this may be happening?
> Best,
> Andrew
>
Previous Topic:extending a profile
Next Topic:How to add a StateMachine to a Class?
Goto Forum:
  


Current Time: Fri Nov 24 15:10:42 GMT 2017

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

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