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

Work item editor customization (hyperlinks / new tab page)

Hi,

Is it possible to contribute a new hyperlink detector to the work item
editor? If yes, how?

Is it possible to add a new page to the work item editor? If yes, how?

Thank you.

Rem

0 votes



2 answers

Permanent link
Remy Chi Jian Suen wrote:
Is it possible to contribute a new hyperlink detector to the work item
editor? If yes, how?
The 0.6M1 New and Noteworthy states: "With the new extension point

com.ibm.team.workitem.ide.ui.textLinkDetectors you contribute a pattern
that
is used to detect textual links in Jazz rich text e.g. in the Work Item and
Plan editor and also in any Text Editor."
All you have to do is thus extend the class TextLinkDetector and
register it to the extension point named above. If your detector throws
an exception it will be deactivated. It is your responsibility that your
detector does not run forever (try to use a fast-running pattern). A
simple example is MailLinkDetector.

Marcel

Is it possible to add a new page to the work item editor? If yes, how?

Thank you.

Rem

0 votes


Permanent link
Marcel Bihr wrote:
Remy Chi Jian Suen wrote:
Is it possible to contribute a new hyperlink detector to the work item
editor? If yes, how?
The 0.6M1 New and Noteworthy states: "With the new extension point
com.ibm.team.workitem.ide.ui.textLinkDetectors you contribute a pattern
that
is used to detect textual links in Jazz rich text e.g. in the Work Item and
Plan editor and also in any Text Editor."
All you have to do is thus extend the class TextLinkDetector and
register it to the extension point named above. If your detector throws
an exception it will be deactivated. It is your responsibility that your
detector does not run forever (try to use a fast-running pattern). A
simple example is MailLinkDetector.

Thanks for the hint, Marcel. I will give this a go.

For adding a new page, I extended the internal
DefaultEditorLayoutFactory class and then appended a new page in the
returned List<IEditorPart> after hooking up onto the
com.ibm.team.workitem.ide.ui.editorLayouts extension point for my custom
work item.

Regards,
Rem

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: Jul 12 '07, 9:48 p.m.

Question was seen: 7,794 times

Last updated: Jul 12 '07, 9:48 p.m.

Confirmation Cancel Confirm