Integrations (PTC products, 3rd party products and code) > Code integration (Ada, ARINC 653, C, C#, C++, IDL, Java, SQL and VB) > IDL Code > Modeling IDL code in Modeler > Adding IDL items to IDL diagrams > Adding items to a component definition diagram (IDL code)
  
Adding items to a component definition diagram (IDL code)
You can add existing items to a Component Definition diagram through drag-and-drop operations and through populate commands.
To add a component to a component definition diagram:
Drag the Component from an appropriate pane to the background of the diagram.
Alternatively,
On the diagram, right-click the background of the diagram, point to Populate, and then click Components.
Components that are owned by the Package or Model that owns the Component Definition Diagram and are not shown on the diagram are added to the diagram.
To add a connector to a component definition diagram:
Drag the Connector from an appropriate pane to the background of the diagram.
Alternatively,
On the diagram, right-click the background of the diagram, point to Populate, and then click Connectors.
Connectors that are owned by the Package or Model that owns the Component Definition Diagram and are not shown on the diagram are added to the diagram.
To add an interface to a component definition diagram:
Drag the Interface from an appropriate pane to the background of the diagram.
Alternatively,
On the diagram, right-click the background of the diagram, point to Populate, and then click Interfaces.
Interfaces that are owned by the Package or Model that owns the Component Definition Diagram and are not shown on the diagram are added to the diagram.
To add a port type to a component definition diagram:
Drag the Port Type from an appropriate pane to the background of the diagram.
Alternatively,
On the diagram, right-click the background of the diagram, point to Populate, and then clickPort Types.
Connectors that are owned by the Package or Model that owns the Component Definition Diagram and are not shown on the diagram are added to the diagram.
To add an item's missing generalizations to a component definition diagram:
On the diagram, right-click the item whose Generalizations you want to add, point to Populate, and then click Inheritance.
If items required to show the clicked item's Generalizations are not shown on the diagram, those items are added to the diagram.
To add missing generalizations to a component definition diagram:
Right-click the background of the diagram, point to Populate, and then click Inheritance.
Any missing Generalizations between the items shown on the diagrams are added to the diagram.