Home » Modeling » UML2 » Static profile stereotypes not recognized as stereotypes
| | |
Re: Static profile stereotypes not recognized as stereotypes [message #478302 is a reply to message #478299] |
Tue, 14 April 2009 15:11 |
james bruck 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 |
Timothy Marc 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 |
james bruck 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 #627492 is a reply to message #478299] |
Tue, 14 April 2009 15:11 |
james bruck 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 |
Timothy Marc 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 |
james bruck 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
>>
|
|
| |
Goto Forum:
Current Time: Thu Apr 25 14:23:18 GMT 2024
Powered by FUDForum. Page generated in 0.04212 seconds
|