It's all about the answers!

Ask a question

Do you know how SourceControlPropertyPage retrieve the "Share root" field?


SEC Servizi (97123559) | asked Mar 26 '13, 10:05 a.m.
converted to question Mar 26 '13, 10:43 a.m. by Tim Mok (6.6k38)
Do you know how com.ibm.team.internal.filesystem.ui.properties.SourceControlPropertyPage retrieve the "Share root" field?
We suppose there is a native method to achieve this information instead of use INameItemPairs segments from IScmService#configurationLocateAncestors() to "calculate" the share root... 
Thanks in advance.

One answer



permanent link
Tim Mok (6.6k38) | answered Mar 26 '13, 10:53 a.m.
JAZZ DEVELOPER
It gets it from the IShareable, which has the IShare containing the share root. The IShareable was likely retrieved from the ISharingManager. It finds the shareable by using the versionable handle and the local file on disk.

Your answer


Register or 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.