[Pharo-project] [ANN] First release of Keymappings for Pharo
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
Can wait to see it Best regards, Francisco On Fri, Dec 17, 2010 at 9:07 AM, Guillermo Polito <guillermopolito@gmail.com
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
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 ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
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
This is cool Guille :) Continue pushing it mariano On Fri, Dec 17, 2010 at 2:16 PM, Stéphane Ducasse <stephane.ducasse@inria.fr
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
participants (5)
-
Alexandre Bergel -
Francisco Ortiz Peñaloza -
Guillermo Polito -
Mariano Martinez Peck -
Stéphane Ducasse