How to detect 3 key presses in SWT KeyListener
<p>As of now i am using below code to detect two key presses. I.e, Ctrl+F(or) Shift+1...Etc, </p>

<pre><code> CCombo comboBox = this.cellEditor.getViewer().getCCombo();
KeyAdapter keyAdapter = new KeyAdapter()
{
  @Override
  public void keyPressed(final KeyEvent evt)
  {
  // KeyPreferenceUtils is used to get the eclipse workbench key preference values.
    int keyCode = KeyPreferenceUtils.getKeyValue();
    if ((evt.stateMask == SWT.CTRL) || (evt.stateMask == SWT.ALT) || (evt.stateMask == SWT.SHIFT) || (evt.stateMask == SWT.COMMAND))
    {
      String pressedKey = Action.convertAccelerator(evt.stateMask + evt.keyCode);
      int pressedKeyValue = Action.convertAccelerator(pressedKey);
      if (pressedKeyValue == keyCode)
      {
        comboBox.setListVisible(true);
      }
    }
    else if (evt.keyCode == keyCode)
    {
      comboBox.setListVisible(true);
    }
  }
};
comboBox.addKeyListener(keyAdapter);
</code></pre>

<p>Now my problem is i want detect 3 key presses. I.e, Ctrl+Shift+2 or some keys combination.</p>