How to apply the stereotype" SwSchedulableResource" [message #1020308] |
Sun, 17 March 2013 18:11  |
Eclipse User |
|
|
|
Hi,
I have created a package and I want to apply the stereotype "SwSchedulableResource" for
this package.
I used :
Package pkg=(Package) ((Package) (owner)).createNestedPackage("RTOS_Model");
pkg.applyStereotype(pkg.getApplicableStereotype("MARTE::MARTE_Foundations::GRM::SwSchedulableResource"));
But, It doesn't work.
Can you help me please.
Thanks in advance,
[Updated on: Sun, 17 March 2013 18:12] by Moderator
|
|
|
|
|
|
Re: How to apply the stereotype" SwSchedulableResource" [message #1020637 is a reply to message #1020597] |
Mon, 18 March 2013 11:55  |
Eclipse User |
|
|
|
On 2013-03-18 14:39:18 +0000, Mariem Makni said:
> Hi,
>
>
> Thanks for your reply.
>
> When I apply the stereotype "SwSchedulableResource" for package or
> class, I get an
> exception.
> I tried to change the stereotype by another stereotype like
> "MARTE::MARTE_AnalysisModel::GQAM::GaAnalysisContext", the stereotype
> "GaAnalysisContext" is applied without any problem.
That stereotype is in the GQAM profile. It's a different profile from GRM.
> Is that the path of the profile application
> "MARTE::MARTE_Foundations::GRM::SwSchedulableResource" is correct?
I don't know. Is the GRM profile applied to your package? DOes the
SwSchedulableResource stereotype exist in the GRM profile?
|
|
|
Powered by
FUDForum. Page generated in 0.07254 seconds