getComponentSyncContexts
Hello to the forum members,
I am working with the following API:
IComponentSyncContext[] com.ibm.team.filesystem.rcp.core.internal.changes.model.IComponentSyncModel.getComponentSyncContexts(IConnection wc, IComponentHandle component)
Please comment if you know how to create a workspace configuration that will cause this API to return an array with size > 1.
Many thanks,
Gidi
Comments
Gidi Gal
Aug 31 '17, 4:13 a.m.Hello Shashikant,
I am using this API to get information on IShareable elements regarding their status in the pending changes view:
- Are they unresolved ?
- Are they in incoming\outgoing change-set ?
- Are they in conflict ? Do they need merge ?
Is there an alternative API to answer these questions ?
Thanks,
Gidi
1 vote
Shashikant Padur
JAZZ DEVELOPER Aug 31 '17, 4:21 a.m.If you have IShareable then you should be able to get the type of change using IShareable#getChange method which returns ILocalChange and you can use ILocalChange#getType method to get the type.
1 vote
Gidi Gal
Aug 31 '17, 4:59 a.m.Thanks Shashikant,I will try this API.