Integrations (PTC products, 3rd party products and code) > Code integration (Ada, ARINC 653, C, C#, C++, IDL, Java, SQL and VB) > IDL Code > IDL diagrams, reports and editors (reference information) > Sequence diagram IDL (IDL code)
  
Sequence diagram IDL (IDL code)
A Sequence Diagram (IDL) allows you to model high-level communication between Component Parts and low-level transactions between ports and Connector Instances:
Create a Sequence Diagram (IDL) from a Package or a Component:
Right-click a Package, point to New, point to IDL Profile, and then click Sequence Diagram.
Right-click the Component, point to New, and then click Sequence Diagram.
High-level sequence diagrams
A high-level Sequence Diagram allows you to model the communication between Component Parts without having to define ports or Connector Instances.
Important: The Event Messages you create on a high-level Sequence Diagram are not used for generating Component Deployment Plan (CDP) files for Deployment Plans. For generation purposes, the communication must be defined through Operation Messages on low-level Sequence Diagrams.
On the Sequence Diagram add Component Parts and then create Event Messages to model communication between those Component Parts:
To add a Component Part to the Sequence Diagram: click the Part toolbar button, right-click the top part of the Sequence Diagram, and then click the command for the Component Part you want to add. Alternatively, you can drag the Component Part from an appropriate Modeler pane to the diagram.
To add an Event Message to the Sequence Diagram: click the Event toolbar button, inline with the appropriate step click the lifeline of the source Component Part, and then click the lifeline of the target Component Part. From the Type Selector dialog, you can select or create an IDL Event. When you create an IDL Event, you select a payload for that Event to use for the communication.
Low-level sequence diagrams
A low-level Sequence Diagram models the transactions between Extended Port (Consumers), Extended Port (Publishers), Connector Instances, Clients and Services.
On the Sequence Diagram add Component Parts and Connector Instances, and then create Operation Messages to model transactions between those items:
To add an Extended Port (Consumer), Extended Port (Publisher), Client or Service to the Sequence Diagram: locate the port in an appropriate Modeler pane, such as the Parts pane, and then drag that port to the top part of the Sequence Diagram.
To add a Connector Instance to the Sequence Diagram: click the Part toolbar button, right-click the top part of the Sequence Diagram, and then click the command for the Component Part you want to add. Alternatively, you can drag the Connector Instance from an appropriate Modeler pane to the diagram.
To add an Operation Message to the Sequence Diagram: click the Operation toolbar button, inline with the appropriate step click the lifeline of the source item, and then click the lifeline of the target item. From the Select Object dialog, select the Operation you want to use for the Operation Message.
The following sections provide information about how a Sequence Diagram (IDL) is used in the model.
Owned By
Component
Model (UML item)
Package (UML item)
Creates or shows these items
Client
Component Part
Connector Instance
Event
Extended Port (Consumer)
Extended Port (Publisher)
Operation (UML item)
Service
IDL Profile properties
None.