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

Adding columns to history view

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.

0 votes



2 answers

Permanent link
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        ILightweightLabelDecorator
and extends
org.eclipse.ui.decorators
However, 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.








1 vote

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.

The columns you want aren't provided either with API at the moment so it's not trivial to add. This would have to be an enhancement.


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

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,954

Question asked: Jul 29 '13, 5:03 p.m.

Question was seen: 4,861 times

Last updated: Aug 02 '13, 10:33 a.m.

Confirmation Cancel Confirm