title: Handle key presses using swt
body: <p><br>
  I'm want do <em>someStuff()</em> when <em>CTRL-C</em> pressed. I had wrote some code, but it "not enough good". What can I do with it?)</p>
  
  <pre><code>    //org.eclipse.draw2d.Shape getShape(){....}
  
      getShape().addKeyListener(new KeyListener(){
  
          @Override
          public void keyPressed(KeyEvent ke) {
          }
  
          @Override
          public void keyReleased(KeyEvent ke) {
              /*if CTRL-C pressed*/
              if((ke.getState() &amp; KeyEvent.CONTROL) != 0 &amp;&amp; 'c' == ('a' + ke.character - 1)){
                  someStuff();
              } 
          }
      });
  </code></pre>
  
  <p>Thanks.</p>