Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Add Copy, Cut & Paste to the PupupMenu
Add Copy, Cut & Paste to the PupupMenu [message #498267] Mon, 16 November 2009 09:33 Go to next message
TW  is currently offline TW Friend
Messages: 62
Registered: November 2009
Member
Hi,

i added the Edit -> copy,cut and paste Commands to my Main Menu by adding an extension point and use the command id org.eclipse.ui.edit.copy ...

Everything works fine for the main menu but now i want to add these commands to the context menu (org.eclipse.ui.popupmenus) extension point.

The command copy should be enabled and visible in every view on every object.

Is there any prepared standard action or command which i could add to the org.ecliplse.ui.popupmenus extension point?
If not how can i add this action?

How can i make the copy popupmenuitem visible in every view on every objecct?

Thaks for your answers
Re: Add Copy, Cut & Paste to the PupupMenu [message #498270 is a reply to message #498267] Mon, 16 November 2009 09:50 Go to previous message
TW  is currently offline TW Friend
Messages: 62
Registered: November 2009
Member
I did find the solution by myself.

You dont have to add anything to the org.eclipse.ui.popupmenus extension point.

You have to add something to the org.eclipse.ui.menus extension point.

Add a menu contribution popup:org.eclipse.ui.popup.any.

And add the copy command org.eclipse.ui.edit.copy

Previous Topic:Workbench rearranging preview border
Next Topic:toggle buttons
Goto Forum:
  


Current Time: Fri Apr 26 20:50:33 GMT 2024

Powered by FUDForum. Page generated in 0.02561 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top