Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 358111

Summary: Add editor ruler context menu > Show Annotation is missing
Product: [Technology] EGit Reporter: Dani Megert <daniel_megert>
Component: UIAssignee: Kevin Sawicki <kevin>
Status: VERIFIED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: markus.kell.r, matthias.sohn, remy.suen
Version: 1.1   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Dani Megert CLA 2011-09-19 09:05:17 EDT
Add editor ruler context menu > Show Annotation
1.1.0.201109151100-r.

Here's how it is done in CVS:

   <extension point="org.eclipse.ui.menus">
      <menuContribution
         locationURI="popup:#AbstractTextEditorRulerContext?after=QuickDiff.Toggle">
         <command
            commandId="org.eclipse.team.cvs.ui.showAnnotation"
            label="%ShowAnnotationAction.label"
            style="push">
            <visibleWhen
               checkEnabled="false">
               <with variable="activeEditorInput">
                  <test
                     property="org.eclipse.team.internal.ccvs.ui.isManaged"
                     value="true">
                  </test>
               </with>
            </visibleWhen>
         </command>
      </menuContribution>
   </extension>
Comment 1 Kevin Sawicki CLA 2011-09-19 16:20:28 EDT
Thanks for including the snippet, proposed fix pushed to: http://egit.eclipse.org/r/#change,4270
Comment 2 Matthias Sohn CLA 2011-09-21 18:28:28 EDT
merged as a87800e02268d68fa9c94a69867b941ffc73863a
Comment 3 Markus Keller CLA 2011-10-03 08:39:49 EDT
*** Bug 359700 has been marked as a duplicate of this bug. ***
Comment 4 Dani Megert CLA 2011-10-04 04:22:47 EDT
Verified in 1.2.0.201110021920.