[Pharo-users] GTInspector: add view tab for custom object
mrizun at gmail.com
Fri Oct 2 05:25:32 EDT 2015
Yes, thanks for help.
2015-10-02 12:03 GMT+03:00 Andrei Chis <chisvasileandrei at gmail.com>:
> Hi Mark,
> There is an initializeView: method that you could you use to create a
> custom view
> composite roassal2
> title: 'Complexity';
> titleIcon: MooseIcons mooseSystemComplexity;
> initializeView: [ RTMondrian new ];
> painting: [ :view :each |
> "build views" ]
> Does this help?
> On Fri, Oct 2, 2015 at 10:47 AM, Mark Rizun <mrizun at gmail.com> wrote:
>> Hi everyone,
>> I would like to extend GTInspector for custom object - add a roassal view
>> I found this kind of code to do this:
>> gtInspectorViewIn: composite
>> <gtInspectorPresentationOrder: 40>
>> composite roassal2
>> title: 'View';
>> painting: [ :view | self viewOn: view ]
>> The problem is, that I want to use a view that I already have, but not the
>> one which is passed as an argument to block [ :view | self viewOn: view ].
>> It should be simple. Am I missing something?
>> Best regards,
>> View this message in context:
>> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pharo-users