[166396] [Editor] Ruler contex menu missing bookmark/task mangement entries
diff --git a/bundles/org.eclipse.wst.xsd.ui/plugin.properties b/bundles/org.eclipse.wst.xsd.ui/plugin.properties
index f367680..c3b2bdb 100644
--- a/bundles/org.eclipse.wst.xsd.ui/plugin.properties
+++ b/bundles/org.eclipse.wst.xsd.ui/plugin.properties
@@ -823,7 +823,10 @@
OpenFileFromSource.image=
OpenFileFromSource.description=Open an editor on the selected link
+AddTask.label=Add &Task...
+AddTask.tooltip=Add Task...
AddBookmark.label=Add Boo&kmark...
+AddBookmark.tooltip=Add Bookmark...
SelectRuler.label=Select Ruler
_ZERO_OR_MORE = Zero or More
diff --git a/bundles/org.eclipse.wst.xsd.ui/plugin.xml b/bundles/org.eclipse.wst.xsd.ui/plugin.xml
index 40fd2c4..29a1c9e 100644
--- a/bundles/org.eclipse.wst.xsd.ui/plugin.xml
+++ b/bundles/org.eclipse.wst.xsd.ui/plugin.xml
@@ -395,7 +395,28 @@
label="%refactoring.menu.label"
class="org.eclipse.wst.xsd.ui.internal.refactor.actions.XSDRefactorGroupActionDelegate">
</action>
- </viewerContribution>
+ </viewerContribution>
+ <viewerContribution
+ targetID="org.eclipse.wst.xsd.core.xsdsource.source.RulerContext"
+ id="org.eclipse.wst.xsd.ui.ruler.context.actions">
+ <action
+ label="%AddTask.label"
+ helpContextId="org.eclipse.ui.AddTask_action_context"
+ class="org.eclipse.ui.texteditor.TaskRulerAction"
+ tooltip="%AddTask.tooltip"
+ menubarPath="additions"
+ 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="additions"
+ id="org.eclipse.ui.texteditor.BookmarkRulerAction">
+ </action>
+ </viewerContribution>
+
</extension>
@@ -447,5 +468,5 @@
categoryId="org.eclipse.ui.category.edit"
id="org.eclipse.wst.xsd.ui.refactor.renameTargetNamespace">
</command>
- </extension>
+ </extension>
</plugin>