Question about Spotter

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Question about Spotter

abergel
Hi!

Consider the following scenario:
- I want to know which classes in GT uses TRMouseClick.

Can I do this using Spotter?
I open Spotter and entered TRMouseClick. I cmd-rightarrow on it, and then entered GT. It gives me this:

But If I click on the selection Object>>gtDebuggerStateIn:
I have that:
gtDebuggerStateIn: composite
<gtDebuggerPresentationOrder: 10>

(GTObjectVariablesBrowser new variablesIn: composite)
title: 'State';
send: #value

Why is gtDebuggerStateIn offered to me? I do not understand…

Cheers,
Alexandre
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Question about Spotter

Andrei Chis
Hi,

You get the right behaviour as in my image no class from GT uses TRMouseClick.
After you enter TRMouseClick and search for gt this only matches methods from the superclass of TRMouseClick.
If you enter your query like 'gt #r' you will get an empty list. Adding #r at the end only shown you the References category.

If you search for TRMouseLeftClick and instead of gt  enter glm you will get one user in glamour.

Cheers,
Andrei

On Mon, Mar 2, 2015 at 10:58 PM, Alexandre Bergel <[hidden email]> wrote:
Hi!

Consider the following scenario:
- I want to know which classes in GT uses TRMouseClick.

Can I do this using Spotter?
I open Spotter and entered TRMouseClick. I cmd-rightarrow on it, and then entered GT. It gives me this:

But If I click on the selection Object>>gtDebuggerStateIn:
I have that:
gtDebuggerStateIn: composite
<gtDebuggerPresentationOrder: 10>

(GTObjectVariablesBrowser new variablesIn: composite)
title: 'State';
send: #value

Why is gtDebuggerStateIn offered to me? I do not understand…

Cheers,
Alexandre
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Question about Spotter

Nicolai Hess
In reply to this post by abergel


2015-03-02 22:58 GMT+01:00 Alexandre Bergel <[hidden email]>:
Hi!

Consider the following scenario:
- I want to know which classes in GT uses TRMouseClick.

Can I do this using Spotter?

I don't think so, you can search which classes are using TRMouseClick
(search for TRMouseClick, dive into the "classes" result list, scroll down to "References" result list
expand the result list "cmd+shift+right" -> this gives you the list all of all classes(!) that are using
TRMouseClick, but you can not search again for the GT-Package


 
I open Spotter and entered TRMouseClick. I cmd-rightarrow on it, and then entered GT. It gives me this:

But If I click on the selection Object>>gtDebuggerStateIn:
I have that:
gtDebuggerStateIn: composite
<gtDebuggerPresentationOrder: 10>

(GTObjectVariablesBrowser new variablesIn: composite)
title: 'State';
send: #value

Why is gtDebuggerStateIn offered to me? I do not understand…

Because this is the list of all TRMouseClick result lists and searching
for GT gives you all result entries with GT in its name, hence "gt"DebugerState (it is the name, not the contents
of the method that matches).

The TRMouseClick result list actually  shows one pacakge-result Trachel, because TRMouseClick is
defined in this package.

Maybe it should include the list of Packages, created from the References-List (for every class that refers
to TRMouseClick, list the package this class belongs to)?
Or the "expanded" references list, shows again a categorized search result, where each
class is categorized under its package?



nicolai




 

Cheers,
Alexandre
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev