Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 Tools » Stereotype in class diagram
Stereotype in class diagram [message #474400] Thu, 01 May 2008 04:52 Go to next message
Jeff Lowcock is currently offline Jeff LowcockFriend
Messages: 17
Registered: July 2009
Junior Member
I'm using 0.8.0M6 and I have been away from this area if eclipse for awhile.
So I am revisiting all of the various tutorials available.
My problem is having reached the point where I have aprofile which is
visible to a model. Within the model I can select a Class, open the
stereotype->apply->MyStereotype and apply this to the class. However the
stereotype is not visible in the class diagram, i.e. <<MyStereotyp>> does
not appear in the class name compartment.
Am I missing a configuration/option/setup parameters somewhere?
Additionally if I do this the 'old' way using the *.uml file with the
UMLEditor the operation appears to succeed and yet the class within the
*.uml file is not decorated with the selected stereotype.
Slightly off topic this is an area I have struggled with many times and I
feel it needs a more comprehensive tutorial. To be a successful tutorial it
would need access to members of the development team, I would be happy to
offer myself to write such a tutorial with support from the development team
because I think this would have a wide audience.
Re: Stereotype in class diagram [message #474402 is a reply to message #474400] Fri, 02 May 2008 00:46 Go to previous messageGo to next message
Jeff Lowcock is currently offline Jeff LowcockFriend
Messages: 17
Registered: July 2009
Junior Member
I have after some playing around resolved this, although it is not very
clear to me which steps I had previously omitted or had executed
incorrectly.

however the steps taken are 1) create profile 2) create uml model 3) load
profile as resource 4) define profile 5) apply profile to package 5) apply
stereotype to package element.
Everything now displays as I expected.
"Jeff Lowcock" <jeff.lowcock@yahoo.com> wrote in message
news:fvbid9$ghc$1@build.eclipse.org...
> I'm using 0.8.0M6 and I have been away from this area if eclipse for
> awhile. So I am revisiting all of the various tutorials available.
> My problem is having reached the point where I have aprofile which is
> visible to a model. Within the model I can select a Class, open the
> stereotype->apply->MyStereotype and apply this to the class. However the
> stereotype is not visible in the class diagram, i.e. <<MyStereotyp>> does
> not appear in the class name compartment.
> Am I missing a configuration/option/setup parameters somewhere?
> Additionally if I do this the 'old' way using the *.uml file with the
> UMLEditor the operation appears to succeed and yet the class within the
> *.uml file is not decorated with the selected stereotype.
> Slightly off topic this is an area I have struggled with many times and I
> feel it needs a more comprehensive tutorial. To be a successful tutorial
> it would need access to members of the development team, I would be happy
> to offer myself to write such a tutorial with support from the development
> team because I think this would have a wide audience.
>
Re: Stereotype in class diagram [message #474406 is a reply to message #474402] Tue, 06 May 2008 12:08 Go to previous message
Tatiana Fesenko is currently offline Tatiana FesenkoFriend
Messages: 530
Registered: July 2009
Senior Member
Hi Jeff,

So, does everything work fine now?

Jeff, I'm glad you have a wish to help us. I'll try to answer all your questions.
There is a good article 'Introduction to UML2 Profiles' on UML2 ( http://www.eclipse.org/modeling/mdt/uml2/docs/articles/Intro duction_to_UML2_Profiles/article.html),
but no explanation how to do it by using diagram editor. It would be great
to have such document.

Thank you,
Tatiana.

> I have after some playing around resolved this, although it is not
> very clear to me which steps I had previously omitted or had executed
> incorrectly.
>
> however the steps taken are 1) create profile 2) create uml model 3)
> load
> profile as resource 4) define profile 5) apply profile to package 5)
> apply
> stereotype to package element.
> Everything now displays as I expected.
> "Jeff Lowcock" <jeff.lowcock@yahoo.com> wrote in message
> news:fvbid9$ghc$1@build.eclipse.org...
>> I'm using 0.8.0M6 and I have been away from this area if eclipse for
>> awhile. So I am revisiting all of the various tutorials available.
>> My problem is having reached the point where I have aprofile which is
>> visible to a model. Within the model I can select a Class, open the
>> stereotype->apply->MyStereotype and apply this to the class. However
>> the
>> stereotype is not visible in the class diagram, i.e. <<MyStereotyp>>
>> does
>> not appear in the class name compartment.
>> Am I missing a configuration/option/setup parameters somewhere?
>> Additionally if I do this the 'old' way using the *.uml file with the
>> UMLEditor the operation appears to succeed and yet the class within
>> the
>> *.uml file is not decorated with the selected stereotype.
>> Slightly off topic this is an area I have struggled with many times
>> and I
>> feel it needs a more comprehensive tutorial. To be a successful
>> tutorial
>> it would need access to members of the development team, I would be
>> happy
>> to offer myself to write such a tutorial with support from the
>> development
>> team because I think this would have a wide audience.
Re: Stereotype in class diagram [message #619704 is a reply to message #474400] Fri, 02 May 2008 00:46 Go to previous message
Jeff Lowcock is currently offline Jeff LowcockFriend
Messages: 17
Registered: July 2009
Junior Member
I have after some playing around resolved this, although it is not very
clear to me which steps I had previously omitted or had executed
incorrectly.

however the steps taken are 1) create profile 2) create uml model 3) load
profile as resource 4) define profile 5) apply profile to package 5) apply
stereotype to package element.
Everything now displays as I expected.
"Jeff Lowcock" <jeff.lowcock@yahoo.com> wrote in message
news:fvbid9$ghc$1@build.eclipse.org...
> I'm using 0.8.0M6 and I have been away from this area if eclipse for
> awhile. So I am revisiting all of the various tutorials available.
> My problem is having reached the point where I have aprofile which is
> visible to a model. Within the model I can select a Class, open the
> stereotype->apply->MyStereotype and apply this to the class. However the
> stereotype is not visible in the class diagram, i.e. <<MyStereotyp>> does
> not appear in the class name compartment.
> Am I missing a configuration/option/setup parameters somewhere?
> Additionally if I do this the 'old' way using the *.uml file with the
> UMLEditor the operation appears to succeed and yet the class within the
> *.uml file is not decorated with the selected stereotype.
> Slightly off topic this is an area I have struggled with many times and I
> feel it needs a more comprehensive tutorial. To be a successful tutorial
> it would need access to members of the development team, I would be happy
> to offer myself to write such a tutorial with support from the development
> team because I think this would have a wide audience.
>
Re: Stereotype in class diagram [message #619714 is a reply to message #474402] Tue, 06 May 2008 12:08 Go to previous message
Tatiana Fesenko is currently offline Tatiana FesenkoFriend
Messages: 530
Registered: July 2009
Senior Member
Hi Jeff,

So, does everything work fine now?

Jeff, I'm glad you have a wish to help us. I'll try to answer all your questions.
There is a good article 'Introduction to UML2 Profiles' on UML2 ( http://www.eclipse.org/modeling/mdt/uml2/docs/articles/Intro duction_to_UML2_Profiles/article.html),
but no explanation how to do it by using diagram editor. It would be great
to have such document.

Thank you,
Tatiana.

> I have after some playing around resolved this, although it is not
> very clear to me which steps I had previously omitted or had executed
> incorrectly.
>
> however the steps taken are 1) create profile 2) create uml model 3)
> load
> profile as resource 4) define profile 5) apply profile to package 5)
> apply
> stereotype to package element.
> Everything now displays as I expected.
> "Jeff Lowcock" <jeff.lowcock@yahoo.com> wrote in message
> news:fvbid9$ghc$1@build.eclipse.org...
>> I'm using 0.8.0M6 and I have been away from this area if eclipse for
>> awhile. So I am revisiting all of the various tutorials available.
>> My problem is having reached the point where I have aprofile which is
>> visible to a model. Within the model I can select a Class, open the
>> stereotype->apply->MyStereotype and apply this to the class. However
>> the
>> stereotype is not visible in the class diagram, i.e. <<MyStereotyp>>
>> does
>> not appear in the class name compartment.
>> Am I missing a configuration/option/setup parameters somewhere?
>> Additionally if I do this the 'old' way using the *.uml file with the
>> UMLEditor the operation appears to succeed and yet the class within
>> the
>> *.uml file is not decorated with the selected stereotype.
>> Slightly off topic this is an area I have struggled with many times
>> and I
>> feel it needs a more comprehensive tutorial. To be a successful
>> tutorial
>> it would need access to members of the development team, I would be
>> happy
>> to offer myself to write such a tutorial with support from the
>> development
>> team because I think this would have a wide audience.
Previous Topic:Multiple diagrams - one semantic model?
Next Topic:[Announce] MDT UML2TOOLS 0.8.0 S200805121221 is available
Goto Forum:
  


Current Time: Tue Apr 16 05:09:08 GMT 2024

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

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

Back to the top