Do you know how SourceControlPropertyPage retrieve the "Share root" field?
SEC Servizi (971●2●35●59)
| asked Mar 26 '13, 10:05 a.m.
converted to question Mar 26 '13, 10:43 a.m. by Tim Mok (6.6k●3●8)
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
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
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.