| Author |
Short-cut key issue in SWT (Ctrl+C and Ctrl+v)
|
Jack clouseau
Greenhorn
Joined: May 14, 2008
Posts: 17
|
|
Hi,
Can anybody tell me how to handle Ctrl+c and Ctrl+v key releases in an Eclipse application?
Am currently using Eclipse 3.5. The key bindings has been defined in the PlugIn.xml.
As soon as i start the application if i do Ctrl+c or Ctrl+v the events are not getting triggered.
But the event triggers only after i manuallay open the EDIT MENU (which has Copy and Paste IAction's in it..For these IAction's i have set the Accelerator's Ctrl+c and Ctrl+v respectively) . After opening the Edit menu manually now if i use the short-cut keys my application is responding to those events. Am not sure what is the problem here...
Is there a better way to handle these short-cut keys issue in Eclipse 3.5?
Any suggestions will be much appreciated....
Thanks
|
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea!!!
|
 |
 |
|
|
subject: Short-cut key issue in SWT (Ctrl+C and Ctrl+v)
|
|
|