tuleap #851 Activate the command to show/hide the comment in the compare editor.
Change-Id: I9ad16ebad82abe93ef86315897630eeae8c224d9
Signed-off-by: Jacques Bouthillier <lmcbout@gmail.com>
diff --git a/org.eclipse.egerrit.ui/plugin.properties b/org.eclipse.egerrit.ui/plugin.properties
index 22020c8..c85f240 100644
--- a/org.eclipse.egerrit.ui/plugin.properties
+++ b/org.eclipse.egerrit.ui/plugin.properties
@@ -20,6 +20,7 @@
previousfile=Go to the previous file
nextPatchset=Go to the next patchset
showFilePath=Toggle the File path layout
+showCommentedFile=Show/Hide the files without comments and drafts
reply=Reply to the review
showReviewEditor=Open review editor
nextComment=Next Comment
diff --git a/org.eclipse.egerrit.ui/plugin.xml b/org.eclipse.egerrit.ui/plugin.xml
index 33936f0..c92381a 100644
--- a/org.eclipse.egerrit.ui/plugin.xml
+++ b/org.eclipse.egerrit.ui/plugin.xml
@@ -125,6 +125,11 @@
</command>
<command
categoryId="org.eclipse.compare.ui.category.compare"
+ id="org.eclipse.egerrit.internal.ui.compare.showCommentedFile"
+ name="%showCommentedFile">
+ </command>
+ <command
+ categoryId="org.eclipse.compare.ui.category.compare"
id="org.eclipse.egerrit.internal.ui.compare.reply"
name="%reply">
</command>
@@ -244,6 +249,12 @@
sequence="M1+[">
</key>
<key
+ commandId="org.eclipse.egerrit.internal.ui.compare.showCommentedFile"
+ contextId="org.eclipse.compare.compareEditorScope"
+ schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
+ sequence="M1+9">
+ </key>
+ <key
commandId="org.eclipse.egerrit.internal.ui.compare.reply"
contextId="org.eclipse.compare.compareEditorScope"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"