How to get the corresponding RTC icon to a file/folder represented as a versionable
![]()
Krasimir Malchev (56●5●23)
| asked Jun 21 '16, 8:21 a.m.
edited Jun 21 '16, 8:47 a.m. by David Lafreniere (4.8k●7)
When we open a stream's repository files view (for example) each file / folder is preceded by a corresponding icon in RTC. That is, if the file is Java file, then the icon correspond to that type of a file (.java). If there is a folder, then the icon in front of the folder denotes that.
How can I fetch the appropriate icon based on the type of a versionable (and its extension/MIME type, maybe) with the RTC API? |
Accepted answer
One other answer
![]()
Ralph Schoon (62.0k●3●36●43)
| answered Jun 21 '16, 9:27 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
This is implemented in Eclipse by providing and registering decorators such as extending org.eclipse.ui.decorators. You can try to search code in the client SDK. It is definitely not a public user API.
|