It's all about the answers!

Ask a question

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


venkata suvidya Dega (11) | asked Feb 24 '17, 2:25 a.m.

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

Accepted answer


permanent link
Ralph Schoon (59.7k23643) | answered Feb 24 '17, 6:45 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Feb 24 '17, 6:46 a.m.

 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

Comments
David Lafreniere commented Sep 04 '18, 1:54 p.m.
FORUM MODERATOR / JAZZ DEVELOPER

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 to post your answer.