2.4.4. Define Participants and Entities
The Participant view allows you to add Participants, DataReaders, and DataWriters. You have to organize them into Participant Libraries.
To add a new Participant Library to your model, click the
button while Participant Libraries is selected or
right-click Participant Libraries in the tree and select Add Library:
![Adding a participant library](_images/add_participant_library_from_tab.png)
To add a Participant Library, enter the Library Name and the destination file:
![Adding participant library details](_images/enter_participant_library_name.png)
You can then add a Participant to the newly created Library by using the
button or by right-clicking on the
Participant Library in the tree and selecting Add Participant:
![Adding a participant to a library](_images/add_participant_to_library.png)
A dialog will guide you to pick a name and select one of the existing domains as the Domain Reference. You can also view and edit the QoS and select a file where the new participant will be stored:
![Setting participant properties](_images/participant_properties.png)
Now you can configure Publications and Subscriptions in the structured view:
![Configuring publications and subscriptions](_images/configure_pubs_subs.png)
To add a new Publisher, select the button in the
Publishers table. You can then select Name, Multiplicity, and
QoS Policies in the presented dialog:
![Setting publisher properties](_images/add_publisher_properties.png)
Once you click OK, the new Publisher will be available in the Structured view and in the tree on the left:
![Seeing the existing publishers](_images/new_publisher.png)
Now you can add DataWriters to the selected Publisher. Use the
button and in the pop-up window, select the topic reference,
the name of the DataWriter, Multiplicity, and QoS:
![Setting DataWriter properties](_images/add_datawriter_properties.png)
Follow the same logic to add Subscribers and DataReaders in the Subscriptions view.
As always, you can see and modify the XML file directly in the XML view:
![Seeing the resulting XML](_images/see_xml_file.png)