• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Short-cut key issue in SWT (Ctrl+C and Ctrl+v)

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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


 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic