|
|
Re: structured datatype [message #1001899 is a reply to message #999628] |
Thu, 17 January 2013 14:21 |
|
Hi, Claudio,
It's not entirely clear to me what the problem is. Are you saying that
in a DataType "room" in your model, having the <<shape>> stereotype
applied, you cal set the 'type' property to "circle"? In my
experience, Papyrus's property sheet presents a pick-list (as you
expected) for enumerated values.
I don't know what this has to do with sub-types.
Can you provide more details of your profile and your model, and in
which UI precisely you're seeing the wrong editing behaviour?
Cheers,
Christian
On 2013-01-12 17:46:44 +0000, Claudio Persico said:
> Hello to everyone,
>
> I'm modeling a room with papyrus and profiles. I've created the following types
>
>
> ----------------
> <<enumeration>> |
> PolygonType |
> --------------- |
> rectangle |
> square |
> ----------------
>
> -------------------
> <<dataType>> |
> Shape |
> ------------------ |
> type: PolygonType |
> area: Real |
> -------------------
>
> Then I created a class called "room" and I've applied a profile which
> has the Shape property as tagged value.
> Now I want to fulfill the tagged values, but in the Shape field I can
> write something not defined, for example "circle", and everything goes
> ok because it is a string to fill and not for example a menu to choose
> from "rectangle" and "square".
>
> Again what if a type has sub-types, how to manage them?
>
> Thanks in advance,
> Claudio
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05125 seconds