It's all about the answers!

Ask a question

Sharing components under streams


Kunal Pasricha (827) | asked Dec 19 '14, 11:12 a.m.
edited Dec 19 '14, 11:45 a.m.
 Hi I have two streams in same project,

AStream and Bstream.

Both these streams has 3 common components which they need to share and one variant compomnent.

i.e. Astream has Comp1,Comp2,Comp3 and Var1
Bstream alsoComp1,Comp2 and Comp3 but Var2.

So I want to share 3 Common components between two streams.

How can do I This?

2 answers



permanent link
Jeff Care (1.0k3733) | answered Dec 19 '14, 11:32 a.m.
edited Dec 19 '14, 1:19 p.m.
 Yes, you can do this. When composing the stream just add the component(s) you want in each stream. A component can easily live in multiple streams. The documentation covers how to compose a stream.

Comments
Kunal Pasricha commented Dec 19 '14, 11:38 a.m.

 How can I do this please explain


permanent link
Geoffrey Clemm (30.1k23035) | answered Dec 19 '14, 4:06 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Dec 19 '14, 4:07 p.m.
In the Stream editor for a given stream, click on the "Add" button to add an existing component to the stream.  
If this is a new component, use the "New" button instead of the "Add" button.
So if none of the components exist yet, in Astream, click on the "New" button 4 times, to create Comp1, Comp2, Comp3, and Var1 (which will also automatically add them to the stream).  
Then open Bstream in the stream editor, and click on the "Add" button 3 times to add Comp1, Comp2, and Comp3, and then click the "New" button once, to create/add Var2.

Your answer


Register or to post your answer.