This is cool Guille :)
Continue pushing it
mariano
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