Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 Tools » Stereotype for associations
Stereotype for associations [message #475954] Thu, 27 November 2008 17:27 Go to next message
Eclipse User
Originally posted by: michael.gebhart.googlemail.com

Hi,

I am using MDT and want to apply stereotypes I defined to an
association. This works, but the stereotype isn't displayed. Any idea
how I can make this stereotype visible?

Greetings

Mike
Re: Stereotype for associations [message #475956 is a reply to message #475954] Tue, 02 December 2008 22:01 Go to previous messageGo to next message
Tatiana Fesenko is currently offline Tatiana Fesenko
Messages: 530
Registered: July 2009
Senior Member
Hello Michael,

You applied a stereotype to an association, but its name was not dispalyed
on the diagram as a label, right?
Let's try to figure out where is a problem together.
I applied EClass stereotype from Ecore profile to an association and it worked
completely fine, the label was displayed. Is label for EClass stereotype
displayed on your machine? Ecore stereotype is stereotype from Ecore profile,
which is provided by UML2 and automatically added to the list of available
profiles.

Besides, is there any messages in you error log?

Best wishes,
Tanya.

> Hi,
>
> I am using MDT and want to apply stereotypes I defined to an
> association. This works, but the stereotype isn't displayed. Any idea
> how I can make this stereotype visible?
>
> Greetings
>
> Mike
>
Re: Stereotype for associations [message #475957 is a reply to message #475956] Wed, 03 December 2008 12:37 Go to previous messageGo to next message
Eclipse User
Originally posted by: michael.gebhart.googlemail.com

Hello Tanya,

thanks for your help. No, also the EClass stereotype isn't displayed.
When selecting the association in the properties view it is displayed as
<<eClass>> <Association> A_src_dst. Thus, obviously the application of
the stereotype worked. But in the diagram view the stereotype isn't visible.

Greetings

Mike
Re: Stereotype for associations [message #475963 is a reply to message #475957] Thu, 04 December 2008 19:25 Go to previous messageGo to next message
Tatiana Fesenko is currently offline Tatiana Fesenko
Messages: 530
Registered: July 2009
Senior Member
Hi Mike,

As I understand, your error log is empty, is that correct?
I'm thrilled.
Could you please create simple diagram, that containes classes A and B and
an association between them. Apply EClass profile to an association and send
me both domain model and diagram files. It will allow me to know if the label
for stereotype is created or not. Depending on it we find the place where
to start debugging ;) .

Cheers,
Tanya.

> Hello Tanya,
>
> thanks for your help. No, also the EClass stereotype isn't displayed.
> When selecting the association in the properties view it is displayed
> as <<eClass>> <Association> A_src_dst. Thus, obviously the application
> of the stereotype worked. But in the diagram view the stereotype isn't
> visible.
>
> Greetings
>
> Mike
>
Re: Stereotype for associations [message #476067 is a reply to message #475963] Mon, 08 December 2008 07:42 Go to previous messageGo to next message
Eclipse User
Originally posted by: michael.gebhart.googlemail.com

Hi Tanya,

yup, no error log entries. I'll send you the files per eMail.

Thanks!

Mike

> Hi Mike,
>
> As I understand, your error log is empty, is that correct?
> I'm thrilled. Could you please create simple diagram, that containes
> classes A and B and an association between them. Apply EClass profile to
> an association and send me both domain model and diagram files. It will
> allow me to know if the label for stereotype is created or not.
> Depending on it we find the place where to start debugging ;) .
> Cheers,
> Tanya.
>
>> Hello Tanya,
>>
>> thanks for your help. No, also the EClass stereotype isn't displayed.
>> When selecting the association in the properties view it is displayed
>> as <<eClass>> <Association> A_src_dst. Thus, obviously the application
>> of the stereotype worked. But in the diagram view the stereotype isn't
>> visible.
>>
>> Greetings
>>
>> Mike
>>
>
>
Re: Stereotype for associations [message #476173 is a reply to message #476067] Mon, 05 January 2009 15:03 Go to previous messageGo to next message
Eclipse User
Originally posted by: michael.gebhart.googlemail.com

Hi,

have you received my files?

Greetings

Mike
Re: Stereotype for associations [message #476333 is a reply to message #476173] Mon, 02 March 2009 13:16 Go to previous message
Eclipse User
Originally posted by: michael.gebhart.googlemail.com

BTW: The label of the association is displayed. But I don't see the name
of the stereotype within the diagram.

Greetings

Michael
Re: Stereotype for associations [message #623298 is a reply to message #475954] Tue, 02 December 2008 22:01 Go to previous message
Tatiana Fesenko is currently offline Tatiana Fesenko
Messages: 530
Registered: July 2009
Senior Member
Hello Michael,

You applied a stereotype to an association, but its name was not dispalyed
on the diagram as a label, right?
Let's try to figure out where is a problem together.
I applied EClass stereotype from Ecore profile to an association and it worked
completely fine, the label was displayed. Is label for EClass stereotype
displayed on your machine? Ecore stereotype is stereotype from Ecore profile,
which is provided by UML2 and automatically added to the list of available
profiles.

Besides, is there any messages in you error log?

Best wishes,
Tanya.

> Hi,
>
> I am using MDT and want to apply stereotypes I defined to an
> association. This works, but the stereotype isn't displayed. Any idea
> how I can make this stereotype visible?
>
> Greetings
>
> Mike
>
Re: Stereotype for associations [message #623300 is a reply to message #475956] Wed, 03 December 2008 12:37 Go to previous message
Eclipse User
Originally posted by: michael.gebhart.googlemail.com

Hello Tanya,

thanks for your help. No, also the EClass stereotype isn't displayed.
When selecting the association in the properties view it is displayed as
<<eClass>> <Association> A_src_dst. Thus, obviously the application of
the stereotype worked. But in the diagram view the stereotype isn't visible.

Greetings

Mike
Re: Stereotype for associations [message #623359 is a reply to message #475957] Thu, 04 December 2008 19:25 Go to previous message
Tatiana Fesenko is currently offline Tatiana Fesenko
Messages: 530
Registered: July 2009
Senior Member
Hi Mike,

As I understand, your error log is empty, is that correct?
I'm thrilled.
Could you please create simple diagram, that containes classes A and B and
an association between them. Apply EClass profile to an association and send
me both domain model and diagram files. It will allow me to know if the label
for stereotype is created or not. Depending on it we find the place where
to start debugging ;) .

Cheers,
Tanya.

> Hello Tanya,
>
> thanks for your help. No, also the EClass stereotype isn't displayed.
> When selecting the association in the properties view it is displayed
> as <<eClass>> <Association> A_src_dst. Thus, obviously the application
> of the stereotype worked. But in the diagram view the stereotype isn't
> visible.
>
> Greetings
>
> Mike
>
Re: Stereotype for associations [message #623363 is a reply to message #475963] Mon, 08 December 2008 07:42 Go to previous message
Eclipse User
Originally posted by: michael.gebhart.googlemail.com

Hi Tanya,

yup, no error log entries. I'll send you the files per eMail.

Thanks!

Mike

> Hi Mike,
>
> As I understand, your error log is empty, is that correct?
> I'm thrilled. Could you please create simple diagram, that containes
> classes A and B and an association between them. Apply EClass profile to
> an association and send me both domain model and diagram files. It will
> allow me to know if the label for stereotype is created or not.
> Depending on it we find the place where to start debugging ;) .
> Cheers,
> Tanya.
>
>> Hello Tanya,
>>
>> thanks for your help. No, also the EClass stereotype isn't displayed.
>> When selecting the association in the properties view it is displayed
>> as <<eClass>> <Association> A_src_dst. Thus, obviously the application
>> of the stereotype worked. But in the diagram view the stereotype isn't
>> visible.
>>
>> Greetings
>>
>> Mike
>>
>
>
Re: Stereotype for associations [message #623400 is a reply to message #476067] Mon, 05 January 2009 15:03 Go to previous message
Eclipse User
Originally posted by: michael.gebhart.googlemail.com

Hi,

have you received my files?

Greetings

Mike
Re: Stereotype for associations [message #623615 is a reply to message #476173] Mon, 02 March 2009 13:16 Go to previous message
Eclipse User
Originally posted by: michael.gebhart.googlemail.com

BTW: The label of the association is displayed. But I don't see the name
of the stereotype within the diagram.

Greetings

Michael
Previous Topic:Creating diagram using UML2 tools APIs
Next Topic:Template binding
Goto Forum:
  


Current Time: Wed Oct 01 04:21:50 GMT 2014

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

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