Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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.

0 votes



4 answers

Permanent link
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,
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.


0 votes


Permanent link
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.

0 votes


Permanent link
On Fri, 23 May 2008 02:27:53 +0000, hungvlam wrote:

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.

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

0 votes


Permanent link
Thank you Dmitry!

0 votes

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: May 21 '08, 4:39 p.m.

Question was seen: 7,638 times

Last updated: May 21 '08, 4:39 p.m.

Confirmation Cancel Confirm