Hi,
Happy New Year!
GTSpotter was meant for exactly that :)
You can do this:
RTView>>spotterElementsFor: aStep <spotterOrder: 10> ^ aStep listProcessor title: 'Elements'; candidatesLimit: 100; allCandidates: [ self elements ]; itemName: [ :each | each model gtDisplayString ]; matchSubstring; wantsToDisplayOnEmptyQuery: true
and then:
b := RTMondrian new. b nodes: GLMPresentation withAllSubclasses. b edges connectFrom: #superclass. b layout tree. b build. GTSpotterMorph new width: 400; doLayout; spotterModel: (GTSpotter on: b view); openCenteredInWorld
Cheers, Doru
On Fri, Dec 26, 2014 at 6:01 PM, Alexandre Bergel alexandre.bergel@me.com wrote:
For example, consider the script:
b := RTMondrian new. b nodes: GLMPresentation withAllSubclasses. b edges connectFrom: #superclass. b layout tree. b
I want to search for all the classes that ends with ‘Debugger’, or ‘Browser’.
Alexandre
On Dec 26, 2014, at 2:03 PM, Tudor Girba tudor@tudorgirba.com wrote:
Hi Alex,
I think I do not understand what you mean.
There is no current support for searching something in a RTView, but
GTSpotter is moldable and you can specify what objects you want to search given a start object. The only problem is what would you put as labels to search for.
Could you provide examples of things you would want to search for?
Cheers, Doru
On Fri, Dec 26, 2014 at 1:57 PM, Alexandre Bergel <
alexandre.bergel@me.com> wrote:
Hi!
Searching for elements in a visualization is a recurrent problem, for
which we have no good solution so far.
I have the impression that GTSpotter cannot be used to look for elements
in a Roassal visualization.
Can someone from the GT team confirm my feeling? Should I built my own
search framework on top of Roassal?
Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"Every thing has its own flow" _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev