writing stereotype properties [message #989362] |
Wed, 05 December 2012 15:40  |
Eclipse User |
|
|
|
Hello everybody
1-i want to represent lifeline0 as the schedulerType for processor so i annotated it with scheduler,stereotype from GRM .
Does this right ?
2-i just want to add properties to stereotype(tagged value)that specify the type of scheduler is round Robin in addition to quantum size
How can i add it?i meant how can write these information ?
and what is the model element used to put tagged value inside it?
please see attachment
Regards
Ann
|
|
|
|
|
|
|
Re: writing stereotype proper ties [message #997665 is a reply to message #990577] |
Mon, 07 January 2013 18:46   |
Eclipse User |
|
|
|
Hi, Ann,
Sorry for the long delay in replying. Hopefully you have already
resolved your problem.
In the Properties view, with your <<scheduler>> lifeline selected,
navigate to the Profile tab. In there, expand the Scheduler stereotype
in the "Applied Stereotypes" tree on the left side and find the
scheduling policy attribute. Select it. Then you'll see an
appropriate editing control on the right side of the Properties view.
If the policy is an enumerated type, you'll have a pick-list that
should include the round robin value.
HTH,
Christian
On 2012-12-13 09:32:47 +0000, Ann barry said:
> Hi Christian,
>
> i followed the steps that you told me but until now i didn't find the
> possibilities to determine the quantum size of scheduling policy
> "RoundRobin"
> how can i add it?
>
> Regards
> Ann
|
|
|
|
Re: writing stereotype proper ties [message #997848 is a reply to message #997818] |
Tue, 08 January 2013 16:39  |
Eclipse User |
|
|
|
Hi, Ann,
I see in the MARTE_Library.library.uml that the SchedPolicyKind
enumeration defines a "RoundRobin" literal, and there's an "Other"
value, too.
Enumerations are fixed; you cannot add new values to them. I don't
know how MARTE intends that you be able to specify what a custom policy
actually is if you choose the "Other" enumeration literal.
HTH,
Christian
On 2013-01-08 20:11:31 +0000, Ann barry said:
> Hi Christian,
>
> No problem and you are very welcome.
>
> as I noticed that some options in the properties of stereotype have a
> Boolean nature that require true and false ,others have an enumeration
> but i found some attributes that didn't have options to select one out
> of many such as "other scheduling policy" that i attached it.
> How can i add an extra scheduling policy in this box?in other
> words,Does there is rule to add it?
>
> Regards
> Ann
|
|
|
Powered by
FUDForum. Page generated in 0.04006 seconds