Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » [Solved] Help for customizing an eclipse context menu(How to add an action to the debug.ui.IVariableView's context menu ?)
[Solved] Help for customizing an eclipse context menu [message #1691356] Mon, 06 April 2015 14:05 Go to next message
Didier Garcin is currently offline Didier GarcinFriend
Messages: 68
Registered: April 2013
Member
Hi,

I'm desperately searching a mean to add an action to the context menu of the debug Variables View.

I've tried :

   <extension
         point="org.eclipse.ui.menus">
      <menuContribution
            allPopups="false"
            locationURI="popup:org.eclipse.debug.ui.variablesView.popupMenu?after=org.eclipse.debug.ui.actions.SelectAllVariablesAction">
         <command
               commandId="ObjectGraphViewer.command1"
               id="TOTO"
               label="TOTO"
               style="push">
         </command>
      </menuContribution>
   </extension>


and the deprecated method as well :

   <extension
         point="org.eclipse.ui.popupMenus">
      <viewerContribution
            id="ObjectGraphViewer.viewerContribution1"
            targetID="org.eclipse.debug.ui.variablesView.popupMenu">
         <action
               class="org.eclipse.debug.internal.ui.viewers.model.VirtualCopyToClipboardActionDelegate"
               definitionId="org.eclipse.ui.edit.copy"
               id="ObjectGraphViewer.action1"
               label="TOTOTOOTT">
         </action>
      </viewerContribution>
   </extension>


But it doesn't work.

Thanks for your help

[Updated on: Wed, 08 April 2015 01:15]

Report message to a moderator

Re: Help for customizing an eclipse context menu [message #1691539 is a reply to message #1691356] Wed, 08 April 2015 01:14 Go to previous message
Didier Garcin is currently offline Didier GarcinFriend
Messages: 68
Registered: April 2013
Member
OK. I found how to.
Previous Topic:Update eclipse results in no menus, projects not visible - completely useless
Next Topic:Writing to a file with the hidden attribute (Windows)
Goto Forum:
  


Current Time: Tue Mar 19 08:18:56 GMT 2024

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

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

Back to the top