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,
|
Accepted answer
Ralph Schoon (63.3k●3●36●46)
| 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 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
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.