Adding columns to history view
Vijayakumar B (22●6●10)
| asked Jul 29 '13, 5:03 p.m.
edited Jul 30 '13, 2:19 a.m. by Ralph Schoon (63.5k●3●36●46) we have a requirement like History view in RTC, should show some addition columns like baseline of the file, last build time /date, review approvals in addition to the columns like merge, description, created and last modified dates. Can any one please help how this can be achieved. i use RTC 4.0.1 client. |
2 answers
Ralph Schoon (63.5k●3●36●46)
| answered Jul 30 '13, 2:19 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I don't think this can be achieved. As far as i can tell, there is no extension point to do that and there are limits anyway for what you can do with extending Views. You might have to create your own view, which is probably not easy, especially if you want it to be fast as well.
You can extend some views by providing a label decorator. The easiest way is implement a class that extends LabelProvider implements ILightweightLabelDecoratorand extends org.eclipse.ui.decoratorsHowever, this seems to work only for tree views. You can check with http://Eclipse.org if there are other approaches. You can find some example code in https://hub.jazz.net/project/rschoon/Jazz%20In%20Flight In the Stream RTC Extensions in the RTC Client Extensions component. The Projects are named com.ibm.field.team.scm.navigator.iddecorator* . However, I did the project as a desperate measure and I believe you should not attempt this. PS: Please try to improve on tagging. Questions like this should usually be tagged with extending. Comments This is correct. The History view doesn't provide extension points to add more columns. The code is internal as well so anything you would want to create wouldn't be supported or guaranteed to work in future releases.
|
Thanks Ralph, after little exploration , we have dropped this requirement. But i want to try this out on my local and see what i get.
|
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.