finder improvements

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

finder improvements

Tudor Girba
Hi,

I am working a bit on some enhancements for Moose Finder:

- You can now extend it with new presentations by adding a method in  
the Finder with a pragma like:

sourceTextIn: aComposite
        <presentation: 10>
        aComposite text
                        title: 'Source';
                        titleIcon: MenuIcons mooseSourceText;
                        display: [ :each | each mooseInterestingEntity sourceText ];
                        when: [ :input | (input mooseInterestingEntity class canUnderstand:  
#sourceText)
                                and: [input mooseInterestingEntity sourceText notEmpty ] ]

- I added icons for the default presentations (see attached picture)

Cheers,
Doru

--
www.tudorgirba.com

"From an abstract enough point of view, any two things are similar."



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

Moose Panel.png (71K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: finder improvements

Alexandre Bergel
> - You can now extend it with new presentations by adding a method in the Finder with a pragma like:
>
> sourceTextIn: aComposite
> <presentation: 10>

What the 10 means? It kind a priority ?

Alexandre

> aComposite text
> title: 'Source';
> titleIcon: MenuIcons mooseSourceText;
> display: [ :each | each mooseInterestingEntity sourceText ];
> when: [ :input | (input mooseInterestingEntity class canUnderstand: #sourceText)
> and: [input mooseInterestingEntity sourceText notEmpty ] ]
>
> - I added icons for the default presentations (see attached picture)
>
> Cheers,
> Doru
>
> --
> www.tudorgirba.com
>
> "From an abstract enough point of view, any two things are similar."
>
>
> <Moose Panel.png>_______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
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: finder improvements

Tudor Girba
Yes, it's the priority. I renamed it now to <presentationOrder:>.

Cheers,
Doru


On 9 Aug 2010, at 14:43, Alexandre Bergel wrote:

>> - You can now extend it with new presentations by adding a method  
>> in the Finder with a pragma like:
>>
>> sourceTextIn: aComposite
>> <presentation: 10>
>
> What the 10 means? It kind a priority ?
>
> Alexandre
>
>> aComposite text
>> title: 'Source';
>> titleIcon: MenuIcons mooseSourceText;
>> display: [ :each | each mooseInterestingEntity sourceText ];
>> when: [ :input | (input mooseInterestingEntity class  
>> canUnderstand: #sourceText)
>> and: [input mooseInterestingEntity sourceText notEmpty ] ]
>>
>> - I added icons for the default presentations (see attached picture)
>>
>> Cheers,
>> Doru
>>
>> --
>> www.tudorgirba.com
>>
>> "From an abstract enough point of view, any two things are similar."
>>
>>
>> <Moose Panel.png>_______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
www.tudorgirba.com

"Beauty is where we see it."



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