how to create the components programatically under the given stream using client libraries??
![]() Hello
|
Accepted answer
![]()
Shashikant Padur (4.2k●2●7)
| answered Jul 14 '17, 4:42 a.m.
JAZZ DEVELOPER edited Jul 14 '17, 4:42 a.m.
IComponent comp = IWorkspaceManager#createComponent(compName, processArea, progressMonitor)
IComponentAdditionOp compOp = IWorkspaceConnection#componentOpFactory().addComponent(comp, false)
IWorkspaceConnection#applyComponentOperations(compOp, false, progressMonitor)
<style type="text/css">
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco}
</style>
vinitha dsouza selected this answer as the correct answer
Comments Hello
IWorkspaceConnection is either a workspace or a stream and so you can add the component to the stream. |
One other answer
![]()
Ralph Schoon (62.0k●3●36●43)
| answered Jul 14 '17, 4:52 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER More examples can be found here: https://rsjazz.wordpress.com/2013/09/24/managing-workspaces-streams-and-components-using-the-plain-java-client-libraries/
|