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

How to get the source code change content as shown in the compare view by Java API?

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!

-1 votes



One answer

Permanent link
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()

0 votes

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
× 419

Question asked: Apr 27 '15, 10:21 a.m.

Question was seen: 6,334 times

Last updated: May 08 '15, 10:27 p.m.

Confirmation Cancel Confirm