Chapter 12 Comparing and Merging Models
If you want to focus on the comparison of selected objects, you can define comparison options.
The Comparison Options dialog box is divided into three parts:
For each metaclass you click, the list of attributes and the list of collections change accordingly.
When you open the Comparison Options dialog box, all check boxes are selected by default.
You can perform the following option selections:
You can... | To... |
---|---|
Select or deselect a metaclass check box | Select or deselect all its attributes and collections at once |
Right-click a metaclass attribute or collection | Select or deselect the attribute or collection for all metaclasses at once from the contextual menu |
Click the Select All or Deselect All tools | Select or deselect all metaclasses, attributes and collections at once |
You can also select several metaclasses at the same time. Only attributes and collections that are common to all metaclasses are listed on the right hand side. When an attribute or collection property value is different from a selected metaclass to another, the attribute or collection check box is grayed-out to indicate the difference.
When you select a metaclass check box, you do not select the metaclass itself for comparison, but only its attributes and collections. If you want to select or deselect a metaclass for comparison, you have to click a Model and/or Package metaclass to display its corresponding attributes and collections and select or deselect the collection check box that corresponds to the unwanted metaclass in the list of Collections on the bottom right hand side.
In the following illustration, the Entities collection check box is deselected for comparison:
Depending on the option selections you perform, the metaclass check box can have the following statuses:
Status | Check box | Description |
---|---|---|
Deselected | ![]() |
No attributes or collections are selected for the metaclass |
Selected | ![]() |
All attributes and collections are selected for the metaclass |
Selected and grayed | ![]() |
Some attributes or/and collections are selected for the metaclass and others are not |
Default comparison options
You can set your current selection of comparison options as default by clicking the Set as default button in the Comparison Options dialog box.
To define comparison options:
Copyright (C) 2006. Sybase Inc. All rights reserved. |
![]() |