stereotype a stereotype [message #475904] |
Sun, 16 September 2007 15:41  |
Eclipse User |
|
|
|
Originally posted by: nickkirtley.gmail.com
hi,
Is it possible to stereotype a stereotype? So that it is possible to add
more properties etc.
regards,
Nick
|
|
|
|
|
Re: stereotype a stereotype [message #475911 is a reply to message #475907] |
Mon, 17 September 2007 10:38  |
Eclipse User |
|
|
|
> yeah a specialization is what I mean, which is exactly what
> stereotyping a stereotype is right?
Er.... no, stereotyping a stereotype would be to apply one stereotype to
an element that is also a stereotype. Specializing a stereotype would be
to define a new stereotype in terms of an existing one by creating a
generalization relationship between them.
> I can't
> see the specialized stereotype option, how can I find it in the menu?
Once you have created both stereotypes, you use the same option you
would use for defining a generalization between two classes (New Child >
Generalization > Generalization).
Rafael
nick kirtley wrote:
> hi,
>
> yeah a specialization is what I mean, which is exactly what stereotyping
> a stereotype is right? you're adding extra information to the existing
> stereotype, so it's adding to the existing one (specialization). I can't
> see the specialized stereotype option, how can I find it in the menu?
>
> regards,
> nick
>
|
|
|
Re: stereotype a stereotype [message #624797 is a reply to message #475904] |
Sun, 16 September 2007 18:54  |
Eclipse User |
|
|
|
If all you want to do is to add more properties, you should specialize
(a.k.a. subclass) the stereotype and use the specialized stereotype instead.
Stereotyping a stereotype would not be of much help because it affects
the target stereotype only, not the elements it is applied to. Unless
that is exactly what you want. In that case, you would have to apply the
profile defining the stereotype-that-applies-to-a-stereotype to the
profile defining the original stereotype beforehand.
Rafael
http://abstratt.com/blog
Nick Kirtley wrote:
> hi,
>
> Is it possible to stereotype a stereotype? So that it is possible to add
> more properties etc.
>
> regards,
> Nick
>
|
|
|
Re: stereotype a stereotype [message #624799 is a reply to message #475905] |
Mon, 17 September 2007 05:11  |
Eclipse User |
|
|
|
Originally posted by: nickkirtley.gmail.com
hi,
yeah a specialization is what I mean, which is exactly what stereotyping a
stereotype is right? you're adding extra information to the existing
stereotype, so it's adding to the existing one (specialization). I can't
see the specialized stereotype option, how can I find it in the menu?
regards,
nick
|
|
|
Re: stereotype a stereotype [message #624803 is a reply to message #475907] |
Mon, 17 September 2007 10:38  |
Eclipse User |
|
|
|
> yeah a specialization is what I mean, which is exactly what
> stereotyping a stereotype is right?
Er.... no, stereotyping a stereotype would be to apply one stereotype to
an element that is also a stereotype. Specializing a stereotype would be
to define a new stereotype in terms of an existing one by creating a
generalization relationship between them.
> I can't
> see the specialized stereotype option, how can I find it in the menu?
Once you have created both stereotypes, you use the same option you
would use for defining a generalization between two classes (New Child >
Generalization > Generalization).
Rafael
nick kirtley wrote:
> hi,
>
> yeah a specialization is what I mean, which is exactly what stereotyping
> a stereotype is right? you're adding extra information to the existing
> stereotype, so it's adding to the existing one (specialization). I can't
> see the specialized stereotype option, how can I find it in the menu?
>
> regards,
> nick
>
|
|
|
Powered by
FUDForum. Page generated in 0.28572 seconds