It's all about the answers!

Ask a question

How can I deal with Hierarchical components using RTC SCM API?


Rakesh Kumar (134) | asked Dec 30 '16, 5:07 a.m.
edited Dec 30 '16, 5:44 a.m. by Arne Bister (2.6k12632)
Looking for sample code to extract and validate Hierarchical components.

Accepted answer


permanent link
Arne Bister (2.6k12632) | answered Dec 30 '16, 5:47 a.m.
JAZZ DEVELOPER
Rakesh,

as mentioned in
https://jazz.net/forum/questions/196420/api-support-for-hierarchical-components-how-to-get-information-about-containment-relations-via-api

and

https://jazz.net/forum/questions/224006/rtc-api-for-adding-sub-component-hierarchy

the entry points for the API are
IFlowNodeConnection#getComponentHierarchy
IWorkspaceConnection#updateSubcomponentData

If you set up your Eclipse according to the Extensibility Workshop you ought to be able to find test code by searching for the above types and/or methods in e.g. the RTC SDK.

What specifically do you mean by "extract" and "validate"?

- Arne
David Lafreniere selected this answer as the correct answer

Your answer


Register or to post your answer.