Revision Annotation
Hello,
If I implement an editor and want to be able to show revision annotations when the user selects "Annotate" in the context menu, is there any extension points I need to use? Thanks. |
4 answers
I believe the annotate support is hard coded to work with implementors
of ITextEditorExtension4. If your editor (or a page in your multi-page editor) implements that interface, annotations should work. Most editors that show annotations are subclasses of AbstractDecoratedTExtEditor. Mike Hung wrote: Hello, |
Thank you Mike,
Jazz revision annotation seems to work with both ITextEditorExtension4 implementor and AbstractDecoratedTextEditor subclass. However, I saw one difference: If using AbstractDecoratedTextEditor, you can see the "annotate" action in the context-menu of the editor. Do you know if there are any other differences? Again, thank you. |
On Fri, 23 May 2008 02:27:53 +0000, hungvlam wrote:
Thank you Mike, Whether or not the "annotate" action shows up in the context-menu of the editor depends on whether the editor input adapts to IResource I believe. - Dmitry |
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.