Searching for Roassal example using Spotter :-)

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

Searching for Roassal example using Spotter :-)

abergel
Hi!

This evening I invited Andrei over to enjoy the sunset view on the Andes. We also played with Spotter. The problem we wanted to solve is the following: There are many examples in Roassal (exactly 210), covering different aspects of Roassal and looking for the right example usually takes time. So, we wanted to give a chance at Spotter.

By loading GT-SpotterExtensions-CoreRoassal from 
MCSmalltalkhubRepository
owner: 'Moose'
project: 'GToolkit'
user: ''
password: ‘'

You will enjoy the excellent work of Andrei.

The key method is the following:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
GTSpotter>>spotterRoassalExamplesFor: aStep
<spotterOrder: 500>
aStep listProcessor 
allCandidates: [ (RTAbstractExample allSubclasses collect: #new) 
flatCollect: [ :each | each gtExamples ] ];
title: 'Roassal Examples';
itemName: [ :example | example selector ];
itemIcon: [ :example | example iconForm ];
matchSubstringByQueryParts;
wantsToDisplayOnEmptyQuery: false
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

So, now, you can trigger Spotter with Cmd-Enter, and enter some words related to Roassal, for example ‘circle layout’, or ‘composite shape’ or 'color edge popup’, a matching is done with the source code of the example. For example, searching for ‘circle layout’ will suggest all the examples that contains the words ‘circle’ and ‘layout’.

Here is a screenshot:

The example is run by pressing enter:



Very cool!
Thanks Andrei!!!
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




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

Re: Searching for Roassal example using Spotter :-)

cbc
Ok.  That is really, really neat.

On Mon, Dec 8, 2014 at 3:36 PM, Alexandre Bergel <[hidden email]> wrote:
Hi!

This evening I invited Andrei over to enjoy the sunset view on the Andes. We also played with Spotter. The problem we wanted to solve is the following: There are many examples in Roassal (exactly 210), covering different aspects of Roassal and looking for the right example usually takes time. So, we wanted to give a chance at Spotter.

By loading GT-SpotterExtensions-CoreRoassal from 
MCSmalltalkhubRepository
owner: 'Moose'
project: 'GToolkit'
user: ''
password: ‘'

You will enjoy the excellent work of Andrei.

The key method is the following:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
GTSpotter>>spotterRoassalExamplesFor: aStep
<spotterOrder: 500>
aStep listProcessor 
allCandidates: [ (RTAbstractExample allSubclasses collect: #new) 
flatCollect: [ :each | each gtExamples ] ];
title: 'Roassal Examples';
itemName: [ :example | example selector ];
itemIcon: [ :example | example iconForm ];
matchSubstringByQueryParts;
wantsToDisplayOnEmptyQuery: false
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

So, now, you can trigger Spotter with Cmd-Enter, and enter some words related to Roassal, for example ‘circle layout’, or ‘composite shape’ or 'color edge popup’, a matching is done with the source code of the example. For example, searching for ‘circle layout’ will suggest all the examples that contains the words ‘circle’ and ‘layout’.

Here is a screenshot:

The example is run by pressing enter:



Very cool!
Thanks Andrei!!!
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
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: Searching for Roassal example using Spotter :-)

philippeback


Le 9 déc. 2014 00:51, "Chris Cunningham" <[hidden email]> a écrit :
>
> Ok.  That is really, really neat.
Sweet.

How would this work for examples of say, Twitter Bootstrap? Examples of Seaside apps?

Phil
>
> On Mon, Dec 8, 2014 at 3:36 PM, Alexandre Bergel <[hidden email]> wrote:
>>
>> Hi!
>>
>> This evening I invited Andrei over to enjoy the sunset view on the Andes. We also played with Spotter. The problem we wanted to solve is the following: There are many examples in Roassal (exactly 210), covering different aspects of Roassal and looking for the right example usually takes time. So, we wanted to give a chance at Spotter.
>>
>> By loading GT-SpotterExtensions-CoreRoassal from 
>> MCSmalltalkhubRepository
>> owner: 'Moose'
>> project: 'GToolkit'
>> user: ''
>> password: ‘'
>>
>> You will enjoy the excellent work of Andrei.
>>
>> The key method is the following:
>> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>> GTSpotter>>spotterRoassalExamplesFor: aStep
>> <spotterOrder: 500>
>> aStep listProcessor 
>> allCandidates: [ (RTAbstractExample allSubclasses collect: #new) 
>> flatCollect: [ :each | each gtExamples ] ];
>> title: 'Roassal Examples';
>> itemName: [ :example | example selector ];
>> itemIcon: [ :example | example iconForm ];
>> matchSubstringByQueryParts;
>> wantsToDisplayOnEmptyQuery: false
>> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>>
>> So, now, you can trigger Spotter with Cmd-Enter, and enter some words related to Roassal, for example ‘circle layout’, or ‘composite shape’ or 'color edge popup’, a matching is done with the source code of the example. For example, searching for ‘circle layout’ will suggest all the examples that contains the words ‘circle’ and ‘layout’.
>>
>> Here is a screenshot:
>>
>> The example is run by pressing enter:
>>
>>
>>
>> Very cool!
>> Thanks Andrei!!!
>> -- 
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> 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
>


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

Re: Searching for Roassal example using Spotter :-)

Tudor Girba-2
In reply to this post by abergel
:)

Where did you publish this?

Doru

On Tue, Dec 9, 2014 at 12:36 AM, Alexandre Bergel <[hidden email]> wrote:
Hi!

This evening I invited Andrei over to enjoy the sunset view on the Andes. We also played with Spotter. The problem we wanted to solve is the following: There are many examples in Roassal (exactly 210), covering different aspects of Roassal and looking for the right example usually takes time. So, we wanted to give a chance at Spotter.

By loading GT-SpotterExtensions-CoreRoassal from 
MCSmalltalkhubRepository
owner: 'Moose'
project: 'GToolkit'
user: ''
password: ‘'

You will enjoy the excellent work of Andrei.

The key method is the following:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
GTSpotter>>spotterRoassalExamplesFor: aStep
<spotterOrder: 500>
aStep listProcessor 
allCandidates: [ (RTAbstractExample allSubclasses collect: #new) 
flatCollect: [ :each | each gtExamples ] ];
title: 'Roassal Examples';
itemName: [ :example | example selector ];
itemIcon: [ :example | example iconForm ];
matchSubstringByQueryParts;
wantsToDisplayOnEmptyQuery: false
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

So, now, you can trigger Spotter with Cmd-Enter, and enter some words related to Roassal, for example ‘circle layout’, or ‘composite shape’ or 'color edge popup’, a matching is done with the source code of the example. For example, searching for ‘circle layout’ will suggest all the examples that contains the words ‘circle’ and ‘layout’.

Here is a screenshot:

The example is run by pressing enter:



Very cool!
Thanks Andrei!!!
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




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




--

"Every thing has its own flow"

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

Re: Searching for Roassal example using Spotter :-)

Tudor Girba-2
In reply to this post by philippeback
Hi Phili,

What do you mean?

Doru

On Tue, Dec 9, 2014 at 4:58 AM, [hidden email] <[hidden email]> wrote:


Le 9 déc. 2014 00:51, "Chris Cunningham" <[hidden email]> a écrit :
>
> Ok.  That is really, really neat.
Sweet.

How would this work for examples of say, Twitter Bootstrap? Examples of Seaside apps?

Phil


>
> On Mon, Dec 8, 2014 at 3:36 PM, Alexandre Bergel <[hidden email]> wrote:
>>
>> Hi!
>>
>> This evening I invited Andrei over to enjoy the sunset view on the Andes. We also played with Spotter. The problem we wanted to solve is the following: There are many examples in Roassal (exactly 210), covering different aspects of Roassal and looking for the right example usually takes time. So, we wanted to give a chance at Spotter.
>>
>> By loading GT-SpotterExtensions-CoreRoassal from 
>> MCSmalltalkhubRepository
>> owner: 'Moose'
>> project: 'GToolkit'
>> user: ''
>> password: ‘'
>>
>> You will enjoy the excellent work of Andrei.
>>
>> The key method is the following:
>> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>> GTSpotter>>spotterRoassalExamplesFor: aStep
>> <spotterOrder: 500>
>> aStep listProcessor 
>> allCandidates: [ (RTAbstractExample allSubclasses collect: #new) 
>> flatCollect: [ :each | each gtExamples ] ];
>> title: 'Roassal Examples';
>> itemName: [ :example | example selector ];
>> itemIcon: [ :example | example iconForm ];
>> matchSubstringByQueryParts;
>> wantsToDisplayOnEmptyQuery: false
>> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>>
>> So, now, you can trigger Spotter with Cmd-Enter, and enter some words related to Roassal, for example ‘circle layout’, or ‘composite shape’ or 'color edge popup’, a matching is done with the source code of the example. For example, searching for ‘circle layout’ will suggest all the examples that contains the words ‘circle’ and ‘layout’.
>>
>> Here is a screenshot:
>>
>> The example is run by pressing enter:
>>
>>
>>
>> Very cool!
>> Thanks Andrei!!!
>> -- 
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> 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
>


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




--

"Every thing has its own flow"

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

Re: Searching for Roassal example using Spotter :-)

Tudor Girba-2
In reply to this post by Tudor Girba-2
Oh. Sorry. I found it :)

Doru

On Tue, Dec 9, 2014 at 7:17 AM, Tudor Girba <[hidden email]> wrote:
:)

Where did you publish this?

Doru

On Tue, Dec 9, 2014 at 12:36 AM, Alexandre Bergel <[hidden email]> wrote:
Hi!

This evening I invited Andrei over to enjoy the sunset view on the Andes. We also played with Spotter. The problem we wanted to solve is the following: There are many examples in Roassal (exactly 210), covering different aspects of Roassal and looking for the right example usually takes time. So, we wanted to give a chance at Spotter.

By loading GT-SpotterExtensions-CoreRoassal from 
MCSmalltalkhubRepository
owner: 'Moose'
project: 'GToolkit'
user: ''
password: ‘'

You will enjoy the excellent work of Andrei.

The key method is the following:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
GTSpotter>>spotterRoassalExamplesFor: aStep
<spotterOrder: 500>
aStep listProcessor 
allCandidates: [ (RTAbstractExample allSubclasses collect: #new) 
flatCollect: [ :each | each gtExamples ] ];
title: 'Roassal Examples';
itemName: [ :example | example selector ];
itemIcon: [ :example | example iconForm ];
matchSubstringByQueryParts;
wantsToDisplayOnEmptyQuery: false
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

So, now, you can trigger Spotter with Cmd-Enter, and enter some words related to Roassal, for example ‘circle layout’, or ‘composite shape’ or 'color edge popup’, a matching is done with the source code of the example. For example, searching for ‘circle layout’ will suggest all the examples that contains the words ‘circle’ and ‘layout’.

Here is a screenshot:

The example is run by pressing enter:



Very cool!
Thanks Andrei!!!
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




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




--

"Every thing has its own flow"



--

"Every thing has its own flow"

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