[Pharo-users] GTInspector: add view tab for custom object

Mark Rizun 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?
>
> Cheers,
> Andrei
>
> 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
>> tab.
>> 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,
>> Mark
>>
>>
>>
>> --
>> View this message in context:
>> http://forum.world.st/GTInspector-add-view-tab-for-custom-object-tp4853161.html
>> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/attachments/20151002/9d732d4f/attachment.html>


More information about the Pharo-users mailing list