Master and subordinate instances
Two instances with the same name can exist in projects that belong to the same branch of the tree in the design build path. The instance that is defined in the higher project in the hierarchy is then considered as the master instance. The instance that is defined in a lower and dependent project is considered as the subordinate instance. If the master instance is modified, the subordinate instance is desynchronized.
In the Design Explorer view, the
icon of a master instance is decorated with . The icon of a subordinate instance is decorated with
. If an instance is subordinate in a project
but master in a lower project, its icon is decorated with
.
- To remove the warnings without copying the modifications of the master instance into the subordinate instance, open the Problems view. Right-click one of the desynchronization warnings and select Quick fix. The quick fix wizard opens and displays two quick fixes. Select the quick fix Remove synchronization warnings. In the Problems panel, select the instances that must be managed with this quick fix. Then, click Finish.
- To copy some or all of the modifications of the master instance
into the subordinate instance, open the compare editor and manually
copy the modifications. You can open this editor in two ways:
- Open the Problems view. Right-click one of the desynchronization warnings and select Quick fix. The quick fix wizard opens and displays two quick fixes. Select the quick fix Open the compare editor.
- Right-click a subordinate instance in the Design Explorer view and select .
In the compare editor, you can copy some or all of the modifications of the master instance into the subordinate instance. When you consider that you have copied all the necessary modifications, save the subordinate instance directly in the compare editor. The subordinate instance is then no longer considered as desynchronized and the warning is no longer displayed.