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

Is it possible to create a plugin to get the data from server and display the custom attributes in History view of each file. ??

Hi all,

Custom attributes on file versions are only available via Java API or command line mode.
Kindly let me know if the feature attributes on file versions are available on GUI mode or not.
If not,Is it possible to create a plugin to get the data from server and display the attributes in History view of each file. ??

Thanks & Regards,
Suvidya

0 votes


Accepted answer

Permanent link

 The custom SCM attributes are only available via Java API or the SCM command line in 6.0.x so far. See https://rsjazz.wordpress.com/2016/02/04/setting-custom-attributes-for-scm-versionables/ for more information about the API.


Eclipse allows to create custom views and label decorators. So you could write a custom view or label decorator that displays the file items and shows the custom attributes. See link above for how to access the data. Se the Eclipse.org web site for examples how to create views.

I don't think a server extension would make any sense in this context. 

David Lafreniere selected this answer as the correct answer

0 votes

Comments

To clarify, as Ralph said, you can write your own view to do exactly what you want, however you cannot 'extend' the existing SCM File History view to show this information (in a new column for example). For the most part, none of the SCM Eclipse UI is extendable or has API (it's implementation is all internal and not public).

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

Question asked: Feb 24 '17, 2:25 a.m.

Question was seen: 1,105 times

Last updated: Sep 04 '18, 1:54 p.m.

Confirmation Cancel Confirm