Yes, thanks for help.

2015-10-02 12:03 GMT+03:00 Andrei Chis <chisvasileandrei@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@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.