Re: Displaying custom Magritte view on FAMIX model
Posted by
Tudor Girba-2 on
Sep 21, 2015; 7:23pm
URL: https://forum.world.st/Displaying-custom-Magritte-view-on-FAMIX-model-tp4851330p4851380.html
Hi,
Metanool offers you a way to define new properties and edit those. Thus, it works at the FM3 level (which is a meta-model of FAMIX).
You seem to want to work directly at FAMIX level. This means that you just have an object, which happens to be a FAMIXClass instance, and want to describe it with Magritte.
For example, for adding a Name property, you can add this method:
FAMIXClass>>descriptionName
<magritteDescription>
^ MAStringDescription new
accessor: #name;
label: 'Name';
yourself
And you get:
What would you expect to get for declaredType?
Cheers,
Doru