public void addConsumedKeystroke(SwtKeystroke key){
  checkWidget();
  consumedKeystrokes.add(key);
}

public void addConsumedKeystroke ( SwtKeystroke key ) { checkWidget ( ) ; consumedKeystrokes . add ( key ) ; }
configures a swt keystroke to be consumed automatically by this control whenever it is detected . < p > this method can be used to block a swt keystroke from being propagated both to the embedded swing component and to the native window system . by consuming a keystroke , you can avoid conflicts in key handling between the swing component and the rest of the application .
