Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Adding the Restart button back into the Debg View toolbar

Use the org.eclipse.ui.menus extension point to add commands to different UI parts.
There some examples of its use in different CDT plugins, e.g., org.eclipse.cdt.dsf.gdb.ui/plugin.xml

Marc 

> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx 
> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of subs
> Sent: Thursday, March 31, 2011 5:12 AM
> To: cdt-dev@xxxxxxxxxxx
> Subject: [cdt-dev] Adding the Restart button back into the 
> Debg View toolbar
> 
> Hi,
> 
> We are shipping a new product based on Helios/CDT. We are 
> getting a lot (yes, a lot!) of complaints from our customers 
> about the removal of the Restart button from the DebugView 
> toolbar (which was present in the Galileo/CDT product). Yes, 
> it is still available in the context menu, but this is a lot 
> less convenient.
> 
> I am not sure how to go about adding it back in. I can use a 
> viewContribution to add a button to the toolbar, but Restart 
> is provided  as a command. How do I go about adding a command 
> to the DebugView
> toolbar (specifically the restart command, with ID 
> org.eclipse.debug.ui.commands.Restart)?
> 
> Thanks
> 
> -- 
> Subs
> 
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
> 

Back to the top