Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 199366 Details for
Bug 258767
[debug view][menu] support for top level debug toolbar
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Path to add debug toolbar as a separate action set.
debug_toolbar.patch (text/plain), 14.32 KB, created by
Pawel Piech
on 2011-07-08 19:07:17 EDT
(
hide
)
Description:
Path to add debug toolbar as a separate action set.
Filename:
MIME Type:
Creator:
Pawel Piech
Created:
2011-07-08 19:07:17 EDT
Size:
14.32 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.debug.ui >Index: plugin.properties >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.debug.ui/plugin.properties,v >retrieving revision 1.254 >diff -u -r1.254 plugin.properties >--- plugin.properties 18 May 2010 19:38:02 -0000 1.254 >+++ plugin.properties 8 Jul 2011 23:02:55 -0000 >@@ -10,6 +10,7 @@ > # QNX Software Systems - Mikhail Khodjaiants - Registers View (Bug 53640) > # Wind River Systems - Pawel Piech - Added Modules view (bug 211158) > # Wind River Systems - Ted Williams -[Memory View] Memory View: Workflow Enhancements (bug 215432) >+# Patrick Chuong (Texas Instruments) - Move debug toolbar actions to main window (Bug 332784) > ############################################################################### > > pluginName=Debug UI >@@ -51,6 +52,7 @@ > CopyExpressionsToClipboardAction.label=Copy &Expressions > CopyRegistersToClipboardAction.label=Copy &Registers > DebugActionSet.label=Debug >+DebugToolbarActionSet.label=Debug Toolbar > debugCurrentInstructionPointer=Debug Current Instruction Pointer > debugCallStack=Debug Call Stack > DebugDropDownAction.label=Debug >@@ -129,6 +131,8 @@ > StringVariablePresentationsName=String Variable Presentations > SuspendAction.label=&Suspend > TerminateAction.label=&Terminate >+DropToFrame.label=Drop To Frame >+Disconnect.label=Disconnect > ToggleBreakpointAction.label=Toggle Brea&kpoint > ToggleBreakpointsTargetFactoriesExtension.name=Toggle Breakpoints Target Factories > ToggleLineBreakpointAction.label=Toggle &Line Breakpoint >@@ -219,6 +223,12 @@ > ActionDefinition.suspend.name=Suspend > ActionDefinition.suspend.description=Suspend > >+ActionDefinition.dropToFrame.name=Drop to Frame >+ActionDefinition.dropToFrame.description=Drop to Frame >+ >+ActionDefinition.disconnect.name=Disconnect >+ActionDefinition.disconnect.description=Disconnect >+ > ActionDefinition.openProfile.name=Profile... > ActionDefinition.openProfile.description=Open profile launch configuration dialog > >Index: plugin.xml >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.debug.ui/plugin.xml,v >retrieving revision 1.456 >diff -u -r1.456 plugin.xml >--- plugin.xml 9 May 2011 09:36:20 -0000 1.456 >+++ plugin.xml 8 Jul 2011 23:02:56 -0000 >@@ -10,6 +10,7 @@ > Contributors: > IBM Corporation - initial API and implementation > Patrick Chuong (Texas Instruments) - Improve usability of the breakpoint view (Bug 238956) >+ Patrick Chuong (Texas Instruments) - Move debug toolbar actions to main window (Bug 332784) > --> > > <plugin> >@@ -382,6 +383,122 @@ > </action> > </actionSet> > <actionSet >+ label="%DebugToolbarActionSet.label" >+ visible="false" >+ id="org.eclipse.debug.ui.debugToolbarActionSet"> >+ <action >+ id="org.eclipse.debug.ui.actions.toolbar.ToggleStepFilters" >+ hoverIcon="$nl$/icons/full/elcl16/stepbystep_co.gif" >+ class="org.eclipse.debug.internal.ui.commands.actions.ToggleStepFiltersCommandActionDelegate" >+ definitionId="org.eclipse.debug.ui.commands.ToggleStepFilters" >+ disabledIcon="$nl$/icons/full/dlcl16/stepbystep_co.gif" >+ icon="$nl$/icons/full/elcl16/stepbystep_co.gif" >+ helpContextId="step_with_filters_action_context" >+ label="%StepWithFiltersAction.label" >+ style="toggle" >+ state="false" >+ toolbarPath="org.eclipse.debug.ui.main.toolbar/renderGroup"> >+ </action> >+ <action >+ id="org.eclipse.debug.ui.actions.toolbar.DropToFrame" >+ hoverIcon="$nl$/icons/full/elcl16/drop_to_frame.gif" >+ class="org.eclipse.debug.internal.ui.commands.actions.DropToFrameCommandActionDelegate" >+ definitionId="org.eclipse.debug.ui.commands.DropToFrame" >+ disabledIcon="$nl$/icons/full/dlcl16/drop_to_frame.gif" >+ helpContextId="drop_to_frame_action_context" >+ icon="$nl$/icons/full/elcl16/drop_to_frame.gif" >+ label="%DropToFrame.label" >+ toolbarPath="org.eclipse.debug.ui.main.toolbar/emptyStepGroup"> >+ </action> >+ <action >+ id="org.eclipse.debug.ui.actions.toolbar.RunToLine" >+ class="org.eclipse.debug.internal.ui.actions.RetargetRunToLineAction" >+ definitionId="org.eclipse.debug.ui.commands.RunToLine" >+ helpContextId="run_to_line_action_context" >+ disabledIcon="$nl$/icons/full/dlcl16/runtoline_co.gif" >+ icon="$nl$/icons/full/elcl16/runtoline_co.gif" >+ label="%RunToLine.label" >+ toolbarPath="org.eclipse.debug.ui.main.toolbar/emptyStepGroup"> >+ </action> >+ <action >+ id="org.eclipse.debug.ui.actions.toolbar.StepReturn" >+ hoverIcon="$nl$/icons/full/elcl16/stepreturn_co.gif" >+ class="org.eclipse.debug.internal.ui.commands.actions.StepReturnCommandActionDelegate" >+ definitionId="org.eclipse.debug.ui.commands.StepReturn" >+ disabledIcon="$nl$/icons/full/dlcl16/stepreturn_co.gif" >+ icon="$nl$/icons/full/elcl16/stepreturn_co.gif" >+ helpContextId="step_return_action_context" >+ label="%StepReturnAction.label" >+ toolbarPath="org.eclipse.debug.ui.main.toolbar/stepReturnGroup"> >+ </action> >+ <action >+ id="org.eclipse.debug.ui.actions.toolbar.StepOver" >+ hoverIcon="$nl$/icons/full/elcl16/stepover_co.gif" >+ class="org.eclipse.debug.internal.ui.commands.actions.StepOverCommandActionDelegate" >+ definitionId="org.eclipse.debug.ui.commands.StepOver" >+ disabledIcon="$nl$/icons/full/dlcl16/stepover_co.gif" >+ icon="$nl$/icons/full/elcl16/stepover_co.gif" >+ helpContextId="step_over_action_context" >+ label="%StepOverAction.label" >+ toolbarPath="org.eclipse.debug.ui.main.toolbar/stepOverGroup"> >+ </action> >+ <action >+ id="org.eclipse.debug.ui.actions.toolbar.StepInto" >+ hoverIcon="$nl$/icons/full/elcl16/stepinto_co.gif" >+ class="org.eclipse.debug.internal.ui.commands.actions.StepIntoCommandActionDelegate" >+ definitionId="org.eclipse.debug.ui.commands.StepInto" >+ disabledIcon="$nl$/icons/full/dlcl16/stepinto_co.gif" >+ icon="$nl$/icons/full/elcl16/stepinto_co.gif" >+ helpContextId="step_into_action_context" >+ label="%StepIntoAction.label" >+ toolbarPath="org.eclipse.debug.ui.main.toolbar/stepIntoGroup"> >+ </action> >+ <action >+ id="org.eclipse.debug.ui.actions.toolbar.Disconnect" >+ hoverIcon="$nl$/icons/full/elcl16/disconnect_co.gif" >+ class="org.eclipse.debug.internal.ui.commands.actions.DisconnectCommandActionDelegate" >+ definitionId="org.eclipse.debug.ui.commands.Disconnect" >+ disabledIcon="$nl$/icons/full/dlcl16/disconnect_co.gif" >+ icon="$nl$/icons/full/elcl16/disconnect_co.gif" >+ helpContextId="disconnect_action_context" >+ label="%Disconnect.label" >+ toolbarPath="org.eclipse.debug.ui.main.toolbar/threadGroup"> >+ </action> >+ <action >+ id="org.eclipse.debug.ui.actions.toolbar.Terminate" >+ hoverIcon="$nl$/icons/full/elcl16/terminate_co.gif" >+ class="org.eclipse.debug.internal.ui.commands.actions.TerminateCommandActionDelegate" >+ definitionId="org.eclipse.debug.ui.commands.Terminate" >+ disabledIcon="$nl$/icons/full/dlcl16/terminate_co.gif" >+ icon="$nl$/icons/full/elcl16/terminate_co.gif" >+ helpContextId="terminate_action_context" >+ label="%TerminateAction.label" >+ toolbarPath="org.eclipse.debug.ui.main.toolbar/threadGroup"> >+ </action> >+ <action >+ id="org.eclipse.debug.ui.actions.toolbar.Suspend" >+ hoverIcon="$nl$/icons/full/elcl16/suspend_co.gif" >+ class="org.eclipse.debug.internal.ui.commands.actions.SuspendCommandActionDelegate" >+ definitionId="org.eclipse.debug.ui.commands.Suspend" >+ disabledIcon="$nl$/icons/full/dlcl16/suspend_co.gif" >+ icon="$nl$/icons/full/elcl16/suspend_co.gif" >+ helpContextId="suspend_action_context" >+ label="%SuspendAction.label" >+ toolbarPath="org.eclipse.debug.ui.main.toolbar/threadGroup"> >+ </action> >+ <action >+ id="org.eclipse.debug.ui.actions.toolbar.Resume" >+ hoverIcon="$nl$/icons/full/elcl16/resume_co.gif" >+ class="org.eclipse.debug.internal.ui.commands.actions.ResumeCommandActionDelegate" >+ definitionId="org.eclipse.debug.ui.commands.Resume" >+ disabledIcon="$nl$/icons/full/dlcl16/resume_co.gif" >+ icon="$nl$/icons/full/elcl16/resume_co.gif" >+ helpContextId="resume_action_context" >+ label="%ResumeAction.label" >+ toolbarPath="org.eclipse.debug.ui.main.toolbar/threadGroup"> >+ </action> >+ </actionSet> >+ <actionSet > label="%LaunchActionSet.label" > visible="false" > id="org.eclipse.debug.ui.launchActionSet"> >@@ -613,6 +730,41 @@ > </dynamic> > </menu> > </menuContribution> >+ <menuContribution >+ locationURI="toolbar:org.eclipse.ui.main.toolbar?after=additions"> >+ <toolbar >+ id="org.eclipse.debug.ui.main.toolbar" >+ label="%DebugActionSet.label"> >+ <separator >+ name="threadGroup" >+ visible="true"> >+ </separator> >+ <separator >+ name="stepGroup" >+ visible="true"> >+ </separator> >+ <separator >+ name="stepIntoGroup" >+ visible="false"> >+ </separator> >+ <separator >+ name="stepOverGroup" >+ visible="false"> >+ </separator> >+ <separator >+ name="stepReturnGroup" >+ visible="false"> >+ </separator> >+ <separator >+ name="emptyStepGroup" >+ visible="false"> >+ </separator> >+ <separator >+ name="renderGroup" >+ visible="true"> >+ </separator> >+ </toolbar> >+ </menuContribution> > </extension> > > <extension >@@ -1625,6 +1777,18 @@ > id="org.eclipse.debug.ui.commands.ToggleStepFilters"> > </command> > <command >+ categoryId="org.eclipse.debug.ui.category.run" >+ description="%ActionDefinition.dropToFrame.description" >+ id="org.eclipse.debug.ui.commands.DropToFrame" >+ name="%ActionDefinition.dropToFrame.name"> >+ </command> >+ <command >+ categoryId="org.eclipse.debug.ui.category.run" >+ description="%ActionDefinition.disconnect.discrption" >+ id="org.eclipse.debug.ui.commands.Disconnect" >+ name="%ActionDefinition.disconnect.name"> >+ </command> >+ <command > name="%ActionDefinition.stepInto.name" > categoryId="org.eclipse.debug.ui.category.run" > description="%ActionDefinition.stepInto.description" >Index: ui/org/eclipse/debug/internal/ui/commands/actions/DisconnectCommandActionDelegate.java >=================================================================== >RCS file: ui/org/eclipse/debug/internal/ui/commands/actions/DisconnectCommandActionDelegate.java >diff -N ui/org/eclipse/debug/internal/ui/commands/actions/DisconnectCommandActionDelegate.java >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ ui/org/eclipse/debug/internal/ui/commands/actions/DisconnectCommandActionDelegate.java 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,24 @@ >+/***************************************************************** >+ * Copyright (c) 2010 Texas Instruments and others >+ * All rights reserved. This program and the accompanying materials >+ * are made available under the terms of the Eclipse Public License v1.0 >+ * which accompanies this distribution, and is available at >+ * http://www.eclipse.org/legal/epl-v10.html >+ * >+ * Contributors: >+ * Patrick Chuong (Texas Instruments) - Move debug toolbar actions to main window (Bug 332784) >+ *****************************************************************/ >+package org.eclipse.debug.internal.ui.commands.actions; >+ >+/** >+ * Disconnect action delegate. >+ * >+ * @since 3.7 >+ */ >+public class DisconnectCommandActionDelegate extends DebugCommandActionDelegate { >+ >+ public DisconnectCommandActionDelegate() { >+ super(); >+ setAction(new DisconnectCommandAction()); >+ } >+} >Index: ui/org/eclipse/debug/internal/ui/commands/actions/DropToFrameCommandActionDelegate.java >=================================================================== >RCS file: ui/org/eclipse/debug/internal/ui/commands/actions/DropToFrameCommandActionDelegate.java >diff -N ui/org/eclipse/debug/internal/ui/commands/actions/DropToFrameCommandActionDelegate.java >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ ui/org/eclipse/debug/internal/ui/commands/actions/DropToFrameCommandActionDelegate.java 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,24 @@ >+/***************************************************************** >+ * Copyright (c) 2010 Texas Instruments and others >+ * All rights reserved. This program and the accompanying materials >+ * are made available under the terms of the Eclipse Public License v1.0 >+ * which accompanies this distribution, and is available at >+ * http://www.eclipse.org/legal/epl-v10.html >+ * >+ * Contributors: >+ * Patrick Chuong (Texas Instruments) - Move debug toolbar actions to main window (Bug 332784) >+ *****************************************************************/ >+package org.eclipse.debug.internal.ui.commands.actions; >+ >+/** >+ * Drop to Frame action delegate. >+ * >+ * @since 3.7 >+ */ >+public class DropToFrameCommandActionDelegate extends DebugCommandActionDelegate { >+ >+ public DropToFrameCommandActionDelegate() { >+ super(); >+ setAction(new DropToFrameCommandAction()); >+ } >+}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 258767
:
156298
|
156299
|
185360
|
189627
|
199366
|
203180
|
203431
|
203868