Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 358111 - Add editor ruler context menu > Show Annotation is missing
Summary: Add editor ruler context menu > Show Annotation is missing
Status: VERIFIED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: 1.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Kevin Sawicki CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-19 09:05 EDT by Dani Megert CLA
Modified: 2011-10-04 04:22 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.