If I have a CompositeModel which I want to display as a tab in a GT
Inspector, what should the inspector method look like?  (I haven't been
able to find any examples in the image or on the web)

I assume it should be something like:


gtInspectEditIn: composite
    <gtInspectorPresentationOrder: 50>

    ^ composite spec
        title: 'Edit';
        display: [ :anObject | MyCompositeModelEditor on: anObject ].


But it isn't clear to me what the display block should be returning.

I can successfully open the window using:


MyCompositeModelEditor new
        editObject: anObject;
        openWithSpec.


Thanks,
Alistair

Reply via email to