How to get the source code change content as shown in the compare view by Java API?
![]()
Jia Jia Li (805●8●157●192)
| asked Apr 27 '15, 10:21 a.m.
edited Apr 27 '15, 11:22 a.m. by Ralph Schoon (63.3k●3●36●46)
When click the change set file item in the Eclipse client, the compare view open and show which line is modified or added or deleted, how can I get such information via SDK API?
I guess I can use the IChangeset or IVersionedContent?
Any sample code for this requirement? Thanks!
|
One answer
![]()
RTC SCM compare uses built in Eclipse compare. Please check this out -
https://wiki.eclipse.org/FAQ_How_do_I_create_a_compare_editor%3F
You can supply inputs to nodes using com.ibm.team.filesystem.common.IFileItem.getContent()
|
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.