[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
|
- From: Alena Laskavaia <elaskavaia.cdt@xxxxxxxxx>
- Date: Thu, 31 Mar 2011 14:31:58 -0400
- Delivered-to: cdt-dev@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:reply-to:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=ar8S4AVsXp5PFoUKDpqtJa36dMsOAVyAdQjrizlZwvU=; b=ZwKpAwohAIItWxwKqx17lIrulgQg3hJdq9uIENIF8dESyx7JbEOqF0cNEhr3skYL3f VfPCT+C/c0/5g66h6DjiXMpvKGGLw9bunxWP5TW7gkS/1bLrvpX+Byf2o+MyxEelryMV DNRRnaKlred4wm9zwxD+srFCBSJzP1IT+nSCw=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:reply-to:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=DmJg4eFhBYiBi6BRoTBZhfJ2dNFuCsfQfg8JbToIoKGLnEUQlNmxyiDz/fDsMZlQf1 i6uNDzpniY+JJtVUCjiln2BejKq2y203B/oxuqTvsS1Sh9sJ8Yf3DtijZzBENB4sk1oP laSKBGTOP3wONN8szp/eD5379MNJo7ScDSXKE=
There are some other buttons which are hidden by default but can be
adding using customization, can we make this button there too (some
action groups I assume...) So user can customize the view to have the
button if he want without every vendor extending it.
On Thu, Mar 31, 2011 at 1:59 PM, Andre Bossert <andre.bossert@xxxxxxxxx> wrote:
> Hi,
>
> thank you, we missed the Restart button too!
>
> Andre
>
> Am 31.03.2011 15:36, schrieb subs:
>>
>> I have resolved it. For anybody else who is looking to do this, the
>> following will add the restart button back into the toolbar:
>>
>> <extension
>> point="org.eclipse.ui.menus">
>> <menuContribution
>>
>> locationURI="toolbar:org.eclipse.debug.ui.DebugView?after=threadGroup">
>> <command
>> commandId="org.eclipse.debug.ui.commands.Restart"
>>
>> icon="platform:/plugin/org.eclipse.debug.ui/icons/full/elcl16/restart_co.gif"
>> label="Restart"
>> style="push"
>> tooltip="Restart">
>> </command>
>> </menuContribution>
>> </extension>
>>
>> Thanks for the help Mark.
>>
>> On 31/03/2011 14:09, Marc Khouzam wrote:
>>>
>>> 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
>>>>
>>> _______________________________________________
>>> cdt-dev mailing list
>>> cdt-dev@xxxxxxxxxxx
>>> https://dev.eclipse.org/mailman/listinfo/cdt-dev
>>
>>
>
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
>