Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Static profile stereotypes not recognized as stereotypes
Static profile stereotypes not recognized as stereotypes [message #478297] Thu, 09 April 2009 18:35 Go to next message
Timothy Marc is currently offline Timothy MarcFriend
Messages: 547
Registered: July 2009
Senior Member
Hey all,

after successfully applying a dynamic profile, i tried the creation of
static profile.

It is possible to add via Element | Apply Stereotype the stereorype, but
but my Stereotypes are not recognized and displayed as Stereotypes but
as additional elements in the UML containment tree with default
EMF-specific icons. I think this is a technical issue, may be the
registration of the profile or the referenced genmodels are not
correctly configured. But i don't know where to begin the debugging
process.

Does anyone have had a problem of the same kind?

Thx
Timothy
Re: Static profile stereotypes not recognized as stereotypes [message #478298 is a reply to message #478297] Thu, 09 April 2009 23:38 Go to previous messageGo to next message
Lazar Codrut-Lucian is currently offline Lazar Codrut-LucianFriend
Messages: 91
Registered: July 2009
Member
Your problem sounds similar to what I described in the thread
"xsi:schemaLocation".

Lucian

Timothy Marc wrote:
> Hey all,
>
> after successfully applying a dynamic profile, i tried the creation of
> static profile.
>
> It is possible to add via Element | Apply Stereotype the stereorype, but
> but my Stereotypes are not recognized and displayed as Stereotypes but
> as additional elements in the UML containment tree with default
> EMF-specific icons. I think this is a technical issue, may be the
> registration of the profile or the referenced genmodels are not
> correctly configured. But i don't know where to begin the debugging
> process.
>
> Does anyone have had a problem of the same kind?
>
> Thx
> Timothy
Re: Static profile stereotypes not recognized as stereotypes [message #478299 is a reply to message #478298] Fri, 10 April 2009 08:39 Go to previous messageGo to next message
Timothy Marc is currently offline Timothy MarcFriend
Messages: 547
Registered: July 2009
Senior Member
Lucian,

indeed, that sounds very similar, instead of that i'm using only the UML
Editor and not the API. But the result seems to be the same. However,
have you found a soultion for that till now?

Thx
Lucian

Lazar Codrut-Lucian schrieb:
> Your problem sounds similar to what I described in the thread
> "xsi:schemaLocation".
>
> Lucian
>
> Timothy Marc wrote:
>> Hey all,
>>
>> after successfully applying a dynamic profile, i tried the creation of
>> static profile.
>>
>> It is possible to add via Element | Apply Stereotype the stereorype, but
>> but my Stereotypes are not recognized and displayed as Stereotypes but
>> as additional elements in the UML containment tree with default
>> EMF-specific icons. I think this is a technical issue, may be the
>> registration of the profile or the referenced genmodels are not
>> correctly configured. But i don't know where to begin the debugging
>> process.
>>
>> Does anyone have had a problem of the same kind?
>>
>> Thx
>> Timothy
Re: Static profile stereotypes not recognized as stereotypes [message #478302 is a reply to message #478299] Tue, 14 April 2009 15:11 Go to previous messageGo to next message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
Hi Timothy,

Are you using the org.eclipse.uml2.uml.generated_package extension point?
See page 31 in this document:
http://www.eclipse.org/modeling/mdt/uml2/docs/presentations/ EclipseCon2008_LongTalk_NewFeaturesOfUML2_files/frame.htm

- James.

"Timothy Marc" <tmothymarc@freenet.de> wrote in message
news:grn0l1$amn$1@build.eclipse.org...
> Lucian,
>
> indeed, that sounds very similar, instead of that i'm using only the UML
> Editor and not the API. But the result seems to be the same. However, have
> you found a soultion for that till now?
>
> Thx
> Lucian
>
> Lazar Codrut-Lucian schrieb:
>> Your problem sounds similar to what I described in the thread
>> "xsi:schemaLocation".
>>
>> Lucian
>>
>> Timothy Marc wrote:
>>> Hey all,
>>>
>>> after successfully applying a dynamic profile, i tried the creation of
>>> static profile.
>>>
>>> It is possible to add via Element | Apply Stereotype the stereorype, but
>>> but my Stereotypes are not recognized and displayed as Stereotypes but
>>> as additional elements in the UML containment tree with default
>>> EMF-specific icons. I think this is a technical issue, may be the
>>> registration of the profile or the referenced genmodels are not
>>> correctly configured. But i don't know where to begin the debugging
>>> process.
>>>
>>> Does anyone have had a problem of the same kind?
>>>
>>> Thx
>>> Timothy
Re: Static profile stereotypes not recognized as stereotypes [message #478303 is a reply to message #478302] Wed, 15 April 2009 12:16 Go to previous messageGo to next message
Timothy Marc is currently offline Timothy MarcFriend
Messages: 547
Registered: July 2009
Senior Member
Hey James,

yes, i did this registration, but the stereotype wasn't registered... a
very strange behavior, because i did it both with your instructions and
with the instructions taken from the papyrus tutorial. In both cases,
the stereotype wasn't applied.... strange... any other ideas?

Thx
Timothy

James Bruck schrieb:
> Hi Timothy,
>
> Are you using the org.eclipse.uml2.uml.generated_package extension point?
> See page 31 in this document:
> http://www.eclipse.org/modeling/mdt/uml2/docs/presentations/ EclipseCon2008_LongTalk_NewFeaturesOfUML2_files/frame.htm
>
> - James.
>
> "Timothy Marc" <tmothymarc@freenet.de> wrote in message
> news:grn0l1$amn$1@build.eclipse.org...
>> Lucian,
>>
>> indeed, that sounds very similar, instead of that i'm using only the UML
>> Editor and not the API. But the result seems to be the same. However, have
>> you found a soultion for that till now?
>>
>> Thx
>> Lucian
>>
>> Lazar Codrut-Lucian schrieb:
>>> Your problem sounds similar to what I described in the thread
>>> "xsi:schemaLocation".
>>>
>>> Lucian
>>>
>>> Timothy Marc wrote:
>>>> Hey all,
>>>>
>>>> after successfully applying a dynamic profile, i tried the creation of
>>>> static profile.
>>>>
>>>> It is possible to add via Element | Apply Stereotype the stereorype, but
>>>> but my Stereotypes are not recognized and displayed as Stereotypes but
>>>> as additional elements in the UML containment tree with default
>>>> EMF-specific icons. I think this is a technical issue, may be the
>>>> registration of the profile or the referenced genmodels are not
>>>> correctly configured. But i don't know where to begin the debugging
>>>> process.
>>>>
>>>> Does anyone have had a problem of the same kind?
>>>>
>>>> Thx
>>>> Timothy
>
>
Re: Static profile stereotypes not recognized as stereotypes [message #478309 is a reply to message #478303] Thu, 16 April 2009 20:10 Go to previous messageGo to next message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
Hi Timothy,

Set a breakpoint in ProfileOperations line 306 (the first line in
getDefinition). Is the proper definition being returned from that point?
If the answer is "yes" then there is probably an issue in how the model
itself is being serialized. If the answer is "no" then there is an issue
with how the profile is being registered with the extension point or how the
profile is being deployed.

- James.

"Timothy Marc" <timothymarc@freenet.de> wrote in message
news:gs4j19$15f$1@build.eclipse.org...
> Hey James,
>
> yes, i did this registration, but the stereotype wasn't registered... a
> very strange behavior, because i did it both with your instructions and
> with the instructions taken from the papyrus tutorial. In both cases, the
> stereotype wasn't applied.... strange... any other ideas?
>
> Thx
> Timothy
>
> James Bruck schrieb:
>> Hi Timothy,
>>
>> Are you using the org.eclipse.uml2.uml.generated_package extension point?
>> See page 31 in this document:
>> http://www.eclipse.org/modeling/mdt/uml2/docs/presentations/ EclipseCon2008_LongTalk_NewFeaturesOfUML2_files/frame.htm
>>
>> - James.
>>
>> "Timothy Marc" <tmothymarc@freenet.de> wrote in message
>> news:grn0l1$amn$1@build.eclipse.org...
>>> Lucian,
>>>
>>> indeed, that sounds very similar, instead of that i'm using only the UML
>>> Editor and not the API. But the result seems to be the same. However,
>>> have you found a soultion for that till now?
>>>
>>> Thx
>>> Lucian
>>>
>>> Lazar Codrut-Lucian schrieb:
>>>> Your problem sounds similar to what I described in the thread
>>>> "xsi:schemaLocation".
>>>>
>>>> Lucian
>>>>
>>>> Timothy Marc wrote:
>>>>> Hey all,
>>>>>
>>>>> after successfully applying a dynamic profile, i tried the creation of
>>>>> static profile.
>>>>>
>>>>> It is possible to add via Element | Apply Stereotype the stereorype,
>>>>> but
>>>>> but my Stereotypes are not recognized and displayed as Stereotypes but
>>>>> as additional elements in the UML containment tree with default
>>>>> EMF-specific icons. I think this is a technical issue, may be the
>>>>> registration of the profile or the referenced genmodels are not
>>>>> correctly configured. But i don't know where to begin the debugging
>>>>> process.
>>>>>
>>>>> Does anyone have had a problem of the same kind?
>>>>>
>>>>> Thx
>>>>> Timothy
>>
Re: Static profile stereotypes not recognized as stereotypes [message #478310 is a reply to message #478297] Thu, 16 April 2009 20:16 Go to previous message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
When you say that "my Stereotypes are not recognized" , does that mean that
you already had a model with stereotypes applied and now you are trying to
use a staticly defined profile in place of a previously dynamic one? If
that is the case, you would need to inspect your profile applications and
see if there are any references to the dynamic content of the old dynamic
profile. Also ensure that your nsURI in the model has been properly
updated since in the dynamic case, a nsURI gets created automatically,
whereas in the static case you are supposed to create your own.

- James.


"Timothy Marc" <tmothymarc@freenet.de> wrote in message
news:grlf4q$h3o$1@build.eclipse.org...
> Hey all,
>
> after successfully applying a dynamic profile, i tried the creation of
> static profile.
>
> It is possible to add via Element | Apply Stereotype the stereorype, but
> but my Stereotypes are not recognized and displayed as Stereotypes but as
> additional elements in the UML containment tree with default EMF-specific
> icons. I think this is a technical issue, may be the registration of the
> profile or the referenced genmodels are not correctly configured. But i
> don't know where to begin the debugging process.
>
> Does anyone have had a problem of the same kind?
>
> Thx
> Timothy
>
Re: Static profile stereotypes not recognized as stereotypes [message #627488 is a reply to message #478297] Thu, 09 April 2009 23:38 Go to previous message
Lazar Codrut-Lucian is currently offline Lazar Codrut-LucianFriend
Messages: 91
Registered: July 2009
Member
Your problem sounds similar to what I described in the thread
"xsi:schemaLocation".

Lucian

Timothy Marc wrote:
> Hey all,
>
> after successfully applying a dynamic profile, i tried the creation of
> static profile.
>
> It is possible to add via Element | Apply Stereotype the stereorype, but
> but my Stereotypes are not recognized and displayed as Stereotypes but
> as additional elements in the UML containment tree with default
> EMF-specific icons. I think this is a technical issue, may be the
> registration of the profile or the referenced genmodels are not
> correctly configured. But i don't know where to begin the debugging
> process.
>
> Does anyone have had a problem of the same kind?
>
> Thx
> Timothy
Re: Static profile stereotypes not recognized as stereotypes [message #627489 is a reply to message #478298] Fri, 10 April 2009 08:39 Go to previous message
Timothy Marc is currently offline Timothy MarcFriend
Messages: 547
Registered: July 2009
Senior Member
Lucian,

indeed, that sounds very similar, instead of that i'm using only the UML
Editor and not the API. But the result seems to be the same. However,
have you found a soultion for that till now?

Thx
Lucian

Lazar Codrut-Lucian schrieb:
> Your problem sounds similar to what I described in the thread
> "xsi:schemaLocation".
>
> Lucian
>
> Timothy Marc wrote:
>> Hey all,
>>
>> after successfully applying a dynamic profile, i tried the creation of
>> static profile.
>>
>> It is possible to add via Element | Apply Stereotype the stereorype, but
>> but my Stereotypes are not recognized and displayed as Stereotypes but
>> as additional elements in the UML containment tree with default
>> EMF-specific icons. I think this is a technical issue, may be the
>> registration of the profile or the referenced genmodels are not
>> correctly configured. But i don't know where to begin the debugging
>> process.
>>
>> Does anyone have had a problem of the same kind?
>>
>> Thx
>> Timothy
Re: Static profile stereotypes not recognized as stereotypes [message #627492 is a reply to message #478299] Tue, 14 April 2009 15:11 Go to previous message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
Hi Timothy,

Are you using the org.eclipse.uml2.uml.generated_package extension point?
See page 31 in this document:
http://www.eclipse.org/modeling/mdt/uml2/docs/presentations/ EclipseCon2008_LongTalk_NewFeaturesOfUML2_files/frame.htm

- James.

"Timothy Marc" <tmothymarc@freenet.de> wrote in message
news:grn0l1$amn$1@build.eclipse.org...
> Lucian,
>
> indeed, that sounds very similar, instead of that i'm using only the UML
> Editor and not the API. But the result seems to be the same. However, have
> you found a soultion for that till now?
>
> Thx
> Lucian
>
> Lazar Codrut-Lucian schrieb:
>> Your problem sounds similar to what I described in the thread
>> "xsi:schemaLocation".
>>
>> Lucian
>>
>> Timothy Marc wrote:
>>> Hey all,
>>>
>>> after successfully applying a dynamic profile, i tried the creation of
>>> static profile.
>>>
>>> It is possible to add via Element | Apply Stereotype the stereorype, but
>>> but my Stereotypes are not recognized and displayed as Stereotypes but
>>> as additional elements in the UML containment tree with default
>>> EMF-specific icons. I think this is a technical issue, may be the
>>> registration of the profile or the referenced genmodels are not
>>> correctly configured. But i don't know where to begin the debugging
>>> process.
>>>
>>> Does anyone have had a problem of the same kind?
>>>
>>> Thx
>>> Timothy
Re: Static profile stereotypes not recognized as stereotypes [message #627493 is a reply to message #478302] Wed, 15 April 2009 12:16 Go to previous message
Timothy Marc is currently offline Timothy MarcFriend
Messages: 547
Registered: July 2009
Senior Member
Hey James,

yes, i did this registration, but the stereotype wasn't registered... a
very strange behavior, because i did it both with your instructions and
with the instructions taken from the papyrus tutorial. In both cases,
the stereotype wasn't applied.... strange... any other ideas?

Thx
Timothy

James Bruck schrieb:
> Hi Timothy,
>
> Are you using the org.eclipse.uml2.uml.generated_package extension point?
> See page 31 in this document:
> http://www.eclipse.org/modeling/mdt/uml2/docs/presentations/ EclipseCon2008_LongTalk_NewFeaturesOfUML2_files/frame.htm
>
> - James.
>
> "Timothy Marc" <tmothymarc@freenet.de> wrote in message
> news:grn0l1$amn$1@build.eclipse.org...
>> Lucian,
>>
>> indeed, that sounds very similar, instead of that i'm using only the UML
>> Editor and not the API. But the result seems to be the same. However, have
>> you found a soultion for that till now?
>>
>> Thx
>> Lucian
>>
>> Lazar Codrut-Lucian schrieb:
>>> Your problem sounds similar to what I described in the thread
>>> "xsi:schemaLocation".
>>>
>>> Lucian
>>>
>>> Timothy Marc wrote:
>>>> Hey all,
>>>>
>>>> after successfully applying a dynamic profile, i tried the creation of
>>>> static profile.
>>>>
>>>> It is possible to add via Element | Apply Stereotype the stereorype, but
>>>> but my Stereotypes are not recognized and displayed as Stereotypes but
>>>> as additional elements in the UML containment tree with default
>>>> EMF-specific icons. I think this is a technical issue, may be the
>>>> registration of the profile or the referenced genmodels are not
>>>> correctly configured. But i don't know where to begin the debugging
>>>> process.
>>>>
>>>> Does anyone have had a problem of the same kind?
>>>>
>>>> Thx
>>>> Timothy
>
>
Re: Static profile stereotypes not recognized as stereotypes [message #627499 is a reply to message #478303] Thu, 16 April 2009 20:10 Go to previous message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
Hi Timothy,

Set a breakpoint in ProfileOperations line 306 (the first line in
getDefinition). Is the proper definition being returned from that point?
If the answer is "yes" then there is probably an issue in how the model
itself is being serialized. If the answer is "no" then there is an issue
with how the profile is being registered with the extension point or how the
profile is being deployed.

- James.

"Timothy Marc" <timothymarc@freenet.de> wrote in message
news:gs4j19$15f$1@build.eclipse.org...
> Hey James,
>
> yes, i did this registration, but the stereotype wasn't registered... a
> very strange behavior, because i did it both with your instructions and
> with the instructions taken from the papyrus tutorial. In both cases, the
> stereotype wasn't applied.... strange... any other ideas?
>
> Thx
> Timothy
>
> James Bruck schrieb:
>> Hi Timothy,
>>
>> Are you using the org.eclipse.uml2.uml.generated_package extension point?
>> See page 31 in this document:
>> http://www.eclipse.org/modeling/mdt/uml2/docs/presentations/ EclipseCon2008_LongTalk_NewFeaturesOfUML2_files/frame.htm
>>
>> - James.
>>
>> "Timothy Marc" <tmothymarc@freenet.de> wrote in message
>> news:grn0l1$amn$1@build.eclipse.org...
>>> Lucian,
>>>
>>> indeed, that sounds very similar, instead of that i'm using only the UML
>>> Editor and not the API. But the result seems to be the same. However,
>>> have you found a soultion for that till now?
>>>
>>> Thx
>>> Lucian
>>>
>>> Lazar Codrut-Lucian schrieb:
>>>> Your problem sounds similar to what I described in the thread
>>>> "xsi:schemaLocation".
>>>>
>>>> Lucian
>>>>
>>>> Timothy Marc wrote:
>>>>> Hey all,
>>>>>
>>>>> after successfully applying a dynamic profile, i tried the creation of
>>>>> static profile.
>>>>>
>>>>> It is possible to add via Element | Apply Stereotype the stereorype,
>>>>> but
>>>>> but my Stereotypes are not recognized and displayed as Stereotypes but
>>>>> as additional elements in the UML containment tree with default
>>>>> EMF-specific icons. I think this is a technical issue, may be the
>>>>> registration of the profile or the referenced genmodels are not
>>>>> correctly configured. But i don't know where to begin the debugging
>>>>> process.
>>>>>
>>>>> Does anyone have had a problem of the same kind?
>>>>>
>>>>> Thx
>>>>> Timothy
>>
Re: Static profile stereotypes not recognized as stereotypes [message #627500 is a reply to message #478297] Thu, 16 April 2009 20:16 Go to previous message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
When you say that "my Stereotypes are not recognized" , does that mean that
you already had a model with stereotypes applied and now you are trying to
use a staticly defined profile in place of a previously dynamic one? If
that is the case, you would need to inspect your profile applications and
see if there are any references to the dynamic content of the old dynamic
profile. Also ensure that your nsURI in the model has been properly
updated since in the dynamic case, a nsURI gets created automatically,
whereas in the static case you are supposed to create your own.

- James.


"Timothy Marc" <tmothymarc@freenet.de> wrote in message
news:grlf4q$h3o$1@build.eclipse.org...
> Hey all,
>
> after successfully applying a dynamic profile, i tried the creation of
> static profile.
>
> It is possible to add via Element | Apply Stereotype the stereorype, but
> but my Stereotypes are not recognized and displayed as Stereotypes but as
> additional elements in the UML containment tree with default EMF-specific
> icons. I think this is a technical issue, may be the registration of the
> profile or the referenced genmodels are not correctly configured. But i
> don't know where to begin the debugging process.
>
> Does anyone have had a problem of the same kind?
>
> Thx
> Timothy
>
Previous Topic:Generate editor from static profile
Next Topic:[Announce] MDT UML2 3.0.0 I200904171019 is available
Goto Forum:
  


Current Time: Thu Apr 25 14:23:18 GMT 2024

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

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

Back to the top