Hi all,
I try to play with the GT inspector (thx Andrei and Doru for the great hands on session @ ESUG'14!).
In short, I try to add a customized tab for Persons objects using a PersonUI facade and a subclass of GTObjectVariablesBrowser (ok I can explain why if needed ;-)). Like that:
Person>>gtInspectorCustomUIIn: composite
<gtInspectorPresentationOrder: 5>
^ (composite custom: (MyGTCustomObjectVariablesBrowser new startOn: (PersonUI on: self) )) " <----- HERE"
title: 'Customized view';
yourself
But, the #variableValuePairsFor: message is not sent to the PersonUI object but to the Person object even if I passed a PersonUI one to the #startOn: method (cf. HERE).
startOn: seems to not store properly the object to use afterwards or I missed a something. Did I?
please find a code sample attached if needed.
Try:��
Person new inspect��
Thx for any hint,
Cheers,
#Luc