[ANN] First release of Keymappings for Pharo

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

[ANN] First release of Keymappings for Pharo

Guillermo Polito
Hi!

I wanted to announce some advances in my work on Keymapping.  What I did so far:
 - some refactors and changes.  I did them While I learnt the code and how it worked.  There's much cleaning left.
 - I added some comments to classes
 - added and changed tests
 - added a Pragma mecanism to collect the keymappings, like this:

SomeClass class>>declareKeymappingOn: aBuilder
    <keymap>
    aBuilder
        addKeymap: [ :builder | builder on: '<m-j>' do: [ :m | UIManager default inform: 'yes!' ] ] on: #Test;
        attach: #Test to: SystemWindow.


Next things I want to do on it:
 - more cleaning
 - a little more documentation
 - replace the string way of declaring the shortcuts (the '<m-j>')
 - add Application specific shortcuts (today shortcuts are attached to morphs, and it would be good to get them declared in models of those morphs too)
 - build an usable UI (today's UI doesn't reflect the changes I did.  BTW, it is very odd, and I didn't found a way to use it well).

Well, I just wanted to share it :P.  I believe that in the weekend I'll build a new release ;).

Cheers!
Guille
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] First release of Keymappings for Pharo

Francisco Ortiz Peñaloza
Can wait to see it

Best regards,
Francisco

On Fri, Dec 17, 2010 at 9:07 AM, Guillermo Polito <[hidden email]> wrote:
Hi!

I wanted to announce some advances in my work on Keymapping.  What I did so far:
 - some refactors and changes.  I did them While I learnt the code and how it worked.  There's much cleaning left.
 - I added some comments to classes
 - added and changed tests
 - added a Pragma mecanism to collect the keymappings, like this:

SomeClass class>>declareKeymappingOn: aBuilder
    <keymap>
    aBuilder
        addKeymap: [ :builder | builder on: '<m-j>' do: [ :m | UIManager default inform: 'yes!' ] ] on: #Test;
        attach: #Test to: SystemWindow.


Next things I want to do on it:
 - more cleaning
 - a little more documentation
 - replace the string way of declaring the shortcuts (the '<m-j>')
 - add Application specific shortcuts (today shortcuts are attached to morphs, and it would be good to get them declared in models of those morphs too)
 - build an usable UI (today's UI doesn't reflect the changes I did.  BTW, it is very odd, and I didn't found a way to use it well).

Well, I just wanted to share it :P.  I believe that in the weekend I'll build a new release ;).

Cheers!
Guille

Reply | Threaded
Open this post in threaded view
|

Re: [ANN] First release of Keymappings for Pharo

Alexandre Bergel
In reply to this post by Guillermo Polito
Looks good!

Alexandre


On 17 Dec 2010, at 08:07, Guillermo Polito wrote:

> Hi!
>
> I wanted to announce some advances in my work on Keymapping.  What I did so far:
>  - some refactors and changes.  I did them While I learnt the code and how it worked.  There's much cleaning left.
>  - I added some comments to classes
>  - added and changed tests
>  - added a Pragma mecanism to collect the keymappings, like this:
>
> SomeClass class>>declareKeymappingOn: aBuilder
>     <keymap>
>     aBuilder
>         addKeymap: [ :builder | builder on: '<m-j>' do: [ :m | UIManager default inform: 'yes!' ] ] on: #Test;
>         attach: #Test to: SystemWindow.
>
>
> Next things I want to do on it:
>  - more cleaning
>  - a little more documentation
>  - replace the string way of declaring the shortcuts (the '<m-j>')
>  - add Application specific shortcuts (today shortcuts are attached to morphs, and it would be good to get them declared in models of those morphs too)
>  - build an usable UI (today's UI doesn't reflect the changes I did.  BTW, it is very odd, and I didn't found a way to use it well).
>
> Well, I just wanted to share it :P.  I believe that in the weekend I'll build a new release ;).
>
> Cheers!
> Guille

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






Reply | Threaded
Open this post in threaded view
|

Re: [ANN] First release of Keymappings for Pharo

Stéphane Ducasse
In reply to this post by Guillermo Polito
Thanks guillermo.
Continue!

Stef

On Dec 17, 2010, at 12:07 PM, Guillermo Polito wrote:

> Hi!
>
> I wanted to announce some advances in my work on Keymapping.  What I did so far:
>  - some refactors and changes.  I did them While I learnt the code and how it worked.  There's much cleaning left.
>  - I added some comments to classes
>  - added and changed tests
>  - added a Pragma mecanism to collect the keymappings, like this:
>
> SomeClass class>>declareKeymappingOn: aBuilder
>     <keymap>
>     aBuilder
>         addKeymap: [ :builder | builder on: '<m-j>' do: [ :m | UIManager default inform: 'yes!' ] ] on: #Test;
>         attach: #Test to: SystemWindow.
>
>
> Next things I want to do on it:
>  - more cleaning
>  - a little more documentation
>  - replace the string way of declaring the shortcuts (the '<m-j>')
>  - add Application specific shortcuts (today shortcuts are attached to morphs, and it would be good to get them declared in models of those morphs too)
>  - build an usable UI (today's UI doesn't reflect the changes I did.  BTW, it is very odd, and I didn't found a way to use it well).
>
> Well, I just wanted to share it :P.  I believe that in the weekend I'll build a new release ;).
>
> Cheers!
> Guille


Reply | Threaded
Open this post in threaded view
|

Re: [ANN] First release of Keymappings for Pharo

Mariano Martinez Peck
This is cool Guille :)
Continue pushing it

mariano

On Fri, Dec 17, 2010 at 2:16 PM, Stéphane Ducasse <[hidden email]> wrote:
Thanks guillermo.
Continue!

Stef

On Dec 17, 2010, at 12:07 PM, Guillermo Polito wrote:

> Hi!
>
> I wanted to announce some advances in my work on Keymapping.  What I did so far:
>  - some refactors and changes.  I did them While I learnt the code and how it worked.  There's much cleaning left.
>  - I added some comments to classes
>  - added and changed tests
>  - added a Pragma mecanism to collect the keymappings, like this:
>
> SomeClass class>>declareKeymappingOn: aBuilder
>     <keymap>
>     aBuilder
>         addKeymap: [ :builder | builder on: '<m-j>' do: [ :m | UIManager default inform: 'yes!' ] ] on: #Test;
>         attach: #Test to: SystemWindow.
>
>
> Next things I want to do on it:
>  - more cleaning
>  - a little more documentation
>  - replace the string way of declaring the shortcuts (the '<m-j>')
>  - add Application specific shortcuts (today shortcuts are attached to morphs, and it would be good to get them declared in models of those morphs too)
>  - build an usable UI (today's UI doesn't reflect the changes I did.  BTW, it is very odd, and I didn't found a way to use it well).
>
> Well, I just wanted to share it :P.  I believe that in the weekend I'll build a new release ;).
>
> Cheers!
> Guille