How to flatten nested descriptions
philippe.marschall at gmail.com
Sun Nov 27 01:08:13 MET 2005
I have an object (a command) that references some other object (a
model object). Instead of copying all descriptions on the class side I
use a MAOneToOneRelationDescription (I guess I'll have to make a copy
for editing so it works with the persistence). This works so far but
I'd like to flatten the editor component to that the fields of the
referenced object are mixed with those of the referencing object.
The description looks something like this:
^ (MAOneToOneRelationDescription selector: #item label: 'Rule' priority: 100)
classes: (Array with: SVACLItem);
And the output like this
What I'd like is the 'Rule' label to disappear and the 'Principal'
'Allow' and 'Command' fields instead appear on its level.
Did I express myself in an understanable way? Do I even use the
More information about the SmallWiki