Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorAnton Leherbauer2008-12-18 13:44:43 +0000
committerAnton Leherbauer2008-12-18 13:44:43 +0000
commite8260482d90006d0715b559fcda2a179d4f28595 (patch)
tree064dafe0b0aa0fd94ba38ba99d96d75800e04e72 /build
parent962fa81bd5094b15cd5930e97d606f74249b50f0 (diff)
downloadorg.eclipse.cdt-e8260482d90006d0715b559fcda2a179d4f28595.tar.gz
org.eclipse.cdt-e8260482d90006d0715b559fcda2a179d4f28595.tar.xz
org.eclipse.cdt-e8260482d90006d0715b559fcda2a179d4f28595.zip
Bug 244054 - Makefile editor: cannot add bookmarks
Diffstat (limited to 'build')
-rw-r--r--build/org.eclipse.cdt.make.ui/plugin.properties6
-rw-r--r--build/org.eclipse.cdt.make.ui/plugin.xml20
2 files changed, 26 insertions, 0 deletions
diff --git a/build/org.eclipse.cdt.make.ui/plugin.properties b/build/org.eclipse.cdt.make.ui/plugin.properties
index 459ea64ef8e..764eb02cce5 100644
--- a/build/org.eclipse.cdt.make.ui/plugin.properties
+++ b/build/org.eclipse.cdt.make.ui/plugin.properties
@@ -87,3 +87,9 @@ Make.targets.menu=Make targets
# Makefile compare font
makeCompareFontDefinition.label= Makefile compare text font
makeCompareFontDefinition.description= The Makefile compare text font is used by Makefile compare/merge tools.
+
+# Common Editor ruler actions
+AddTask.label=Add &Task...
+AddTask.tooltip=Add Task...
+AddBookmark.label=Add Boo&kmark...
+AddBookmark.tooltip=Add Bookmark...
diff --git a/build/org.eclipse.cdt.make.ui/plugin.xml b/build/org.eclipse.cdt.make.ui/plugin.xml
index 1cf3d34177f..d05eb8751a4 100644
--- a/build/org.eclipse.cdt.make.ui/plugin.xml
+++ b/build/org.eclipse.cdt.make.ui/plugin.xml
@@ -100,6 +100,26 @@
</or>
</visibility>
</objectContribution>
+ <viewerContribution
+ targetID="#MakefileRulerContext"
+ id="org.eclipse.cdt.ui.editor.MakefileEditorRulerPopupActions">
+ <action
+ label="%AddTask.label"
+ helpContextId="org.eclipse.ui.AddTask_action_context"
+ class="org.eclipse.ui.texteditor.TaskRulerAction"
+ tooltip="%AddTask.tooltip"
+ menubarPath="add"
+ id="org.eclipse.ui.texteditor.TaskRulerAction">
+ </action>
+ <action
+ label="%AddBookmark.label"
+ helpContextId="org.eclipse.ui.bookmark_action_context"
+ class="org.eclipse.ui.texteditor.BookmarkRulerAction"
+ tooltip="%AddBookmark.tooltip"
+ menubarPath="add"
+ id="org.eclipse.ui.texteditor.BookmarkRulerAction">
+ </action>
+ </viewerContribution>
</extension>
<extension
point="org.eclipse.ui.contexts">

Back to the top