Bug 498428 - "Run to Line" on Ctrl+Alt+Click in annotation/line number
rulers
Change-Id: Ic544e3ee9d5ce9d287fadc2d7c671e4d3391fcfe
diff --git a/org.eclipse.jdt.debug.ui/plugin.properties b/org.eclipse.jdt.debug.ui/plugin.properties
index 3000482..db85c36 100644
--- a/org.eclipse.jdt.debug.ui/plugin.properties
+++ b/org.eclipse.jdt.debug.ui/plugin.properties
@@ -86,6 +86,7 @@
snippetEditorPageName=Scrapbook Runtime
JavaBreakpointProperties.label=Breakpoint P&roperties...
+RunToLineRuler.label=Run to &Line
javaDebugPrefName=Debug
javaPrimitivesPrefName=Primitive Display Options
diff --git a/org.eclipse.jdt.debug.ui/plugin.xml b/org.eclipse.jdt.debug.ui/plugin.xml
index 2af9c44..0a44a67 100644
--- a/org.eclipse.jdt.debug.ui/plugin.xml
+++ b/org.eclipse.jdt.debug.ui/plugin.xml
@@ -62,6 +62,12 @@
actionID="RulerDoubleClick"
id="org.eclipse.jdt.debug.ui.actions.ManageBreakpointRulerAction">
</action>
+ <action
+ class="org.eclipse.debug.ui.actions.RulerRunToLineActionDelegate"
+ id="org.eclipse.jdt.debug.ui.actions.RunToLineRulerActionDelegate"
+ label="%RunToLineRuler.label"
+ actionID="M1+M3+RulerClick">
+ </action>
</editorContribution>
<editorContribution
targetID="org.eclipse.jdt.ui.ClassFileEditor"
@@ -72,6 +78,12 @@
actionID="RulerDoubleClick"
id="org.eclipse.jdt.debug.ui.actions.ManageBreakpointRulerAction">
</action>
+ <action
+ class="org.eclipse.debug.ui.actions.RulerRunToLineActionDelegate"
+ id="org.eclipse.jdt.debug.ui.actions.RunToLineRulerActionDelegate"
+ label="%RunToLineRuler.label"
+ actionID="M1+M3+RulerClick">
+ </action>
</editorContribution>
<editorContribution
targetID="org.eclipse.jdt.debug.ui.SnippetEditor"
@@ -952,6 +964,14 @@
id="org.eclipse.jdt.debug.ui.actions.JavaBreakpointPropertiesRulerActionDelegate">
</action>
<action
+ class="org.eclipse.debug.ui.actions.RulerRunToLineActionDelegate"
+ id="org.eclipse.jdt.debug.ui.actions.RunToLineRulerActionDelegate"
+ icon="icons/full/elcl16/runtoline_co.png"
+ helpContextId="run_to_line_action_context"
+ label="%RunToLineRuler.label"
+ menubarPath="debug">
+ </action>
+ <action
label="%EnableBreakpoint.label"
helpContextId="enable_disable_breakpoint_action_context"
class="org.eclipse.debug.ui.actions.RulerEnableDisableBreakpointActionDelegate"
@@ -979,6 +999,14 @@
id="org.eclipse.jdt.debug.ui.actions.JavaBreakpointPropertiesRulerActionDelegate">
</action>
<action
+ class="org.eclipse.debug.ui.actions.RulerRunToLineActionDelegate"
+ id="org.eclipse.jdt.debug.ui.actions.RunToLineRulerActionDelegate"
+ icon="icons/full/elcl16/runtoline_co.png"
+ helpContextId="run_to_line_action_context"
+ label="%RunToLineRuler.label"
+ menubarPath="debug">
+ </action>
+ <action
label="%EnableBreakpoint.label"
helpContextId="enable_disable_breakpoint_action_context"
class="org.eclipse.debug.ui.actions.RulerEnableDisableBreakpointActionDelegate"