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 |
2 answers
![]()
Remy Chi Jian Suen wrote:
Is it possible to contribute a new hyperlink detector to the work item 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? |
![]()
Marcel Bihr wrote:
Remy Chi Jian Suen wrote: 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 |
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.