Bug 498428 - "Run to Line" on Ctrl+Alt+Click in annotation/line number
rulers
Change-Id: I3a65d0100cc6674243a3aecf9de941b2eb087ee3
diff --git a/org.eclipse.jdt.debug.ui/plugin.properties b/org.eclipse.jdt.debug.ui/plugin.properties
index 1bd6f51..4806ef4 100644
--- a/org.eclipse.jdt.debug.ui/plugin.properties
+++ b/org.eclipse.jdt.debug.ui/plugin.properties
@@ -1,5 +1,5 @@
###############################################################################
-# Copyright (c) 2000, 2016 IBM Corporation and others.
+# Copyright (c) 2000, 2017 IBM Corporation 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
@@ -83,6 +83,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 83ab593..5c207b5 100644
--- a/org.eclipse.jdt.debug.ui/plugin.xml
+++ b/org.eclipse.jdt.debug.ui/plugin.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<!--
- Copyright (c) 2005, 2016 IBM Corporation and others.
+ Copyright (c) 2005, 2017 IBM Corporation 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
@@ -59,6 +59,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="RulerClick">
+ </action>
</editorContribution>
<editorContribution
targetID="org.eclipse.jdt.ui.ClassFileEditor"
@@ -69,6 +75,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="RulerClick">
+ </action>
</editorContribution>
<editorContribution
targetID="org.eclipse.jdt.debug.ui.SnippetEditor"
@@ -964,6 +976,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"
@@ -991,6 +1011,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"