Add button to work item view
Hi, I'd like to add a button to the work item view, which will duplicate that work item and show the duplicate to the user. I'm comfortable with the duplication process, I just need to know how (which classes etc) to add a button to the UI, preferable in the row of buttons near 'Save' in the top right hand corner of a Work Item's view.
Also, is there an online resource detailing the different classes involved in developing extensions for the RTC UI? Thanks, Simon |
3 answers
Hi
The work item editor is not extensible in that place. The code involved is com.ibm.team.workitem.ide.ui.internal.editor.part.TitlePart . Links about extending RTC: - https://jazz.net/wiki/bin/view/Main/RtcSdk - https://jazz.net/wiki/bin/view/Main/JazzLabs For the work item editor also: - https://jazz.net/wiki/bin/view/Main/ContributingAttributePresentations Regards Marcel Jazz Work Item team |
package com.ibm.team.workitem.sars.ui; I created this class in my plugin package, but the IDE is giving the following errors: 1. The hierachy of CreateSARPresentationPart is inconsistent 2. The type com.ibm.team.ui.editor.TeamFormPart cannot be resolved. It is indirectly referenced from required .class files Any ideas as to what is causing this? I've tried to find the package referenced in the second error but to no avail. |
Just guessing here:
For PresentationPart, you have com.ibm.team.workitem.ide.ui as plugin dependency. As PresentationPart uses TeamFormPart, you also need a dependency to com.ibm.team.jface, which is where TeamFormPart resides. Regards Marcel Jazz Work Item team |
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.