|
Re: Modeling Subclassing behaviour [message #641755 is a reply to message #641741] |
Sat, 27 November 2010 16:52 |
Ed Merks Messages: 33140 Registered: July 2009 |
Senior Member |
|
|
Volker,
Test2 reuses the property descriptors for Test so you'd have to override
the methods that create them to create read only property descriptors.
Volker Schilling wrote:
> Hi,
>
> I try to model some editor that handles deriveable model elements like
> in java.
>
> Example:
>
> Model 1
> =======
>
> class : Test
> property A
> property B
>
>
> Model 2
> =======
>
> class : Test2 (subclass : Test)
> property A [readonly::Test]
> property B [readonly::Test]
> property C
>
>
> I like to see all properties from the super class element as read only.
> Has anyone a solution for this?
>
> Thanks,
> Volker
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.02574 seconds