In the SansGUI Object System, component objects are used to maintain common values in their derived parts or links. You would not, however, want to create an object for each and every part or link that differs only in a few values. Instead, you can use the part (or link) override mechanism to modify the values different from the deriving object. There are two ways to enter overriding values: indirectly through a Part or Link Properties dialog or directly through a part or link Grid View in the right pane. All overriding values are displayed in a bright red color.
The Part Properties dialog is used to modify the name or the overriding values of a part. The Part Properties dialog is non-modal, meaning that you don't have to close it before invoking another one. There are three ways to invoke the Part Properties dialog:
From the Canvas View, double click on the part or right click on it to use the context menu to select Properties.
From the Component or Assembly Tree View in the left pane, double click on the part or right click on it to use the context menu to select Properties. Each part is indicated with a dark blue square at the lower left corner of the icon.
Click on the class of the part in the Component Tree View in the left pane to obtain a Grid View with the part listed in the right pane. Double click on the part name cell or right click on it to use the context menu to select Properties.
The Part Properties dialog is quite similar to the Object Properties dialog except that the Value column contains values inherited from the deriving object and is not editable. An additional Override column is for you to enter part overriding values. How the values are entered is similar to that of objects described in Entering Values in this chapter and GUI Control Types in Chapter 1.
Some of the attributes may not be overridable; it depends on the attribute definitions in the simulator. The protected fields have the same background color as tooltips set in your Windows environment. Except for on-off and tri-state switches, an overriding value can be removed by pressing the Delete key when the overriding value cell is current. The on-off or tri-state overriding values are removed as long as they are the same as those of the deriving object.
The changes made in the Part Properties dialog is not effective until the OK button is clicked.
The Link Properties dialog is similar to the Part Properties dialog. Please consult the previous section for how to use it to override link object values. Consult Entering Values and GUI Control Types for field editing details.
When you click on a component class in the Component Tree View in the left pane, you can obtain a list of parts or links derived from that class in a Grid View in the right pane. The right pane is organized with tabs for recently accessed Canvas and Grid Views. When a Grid View is present, you can modify the overriding values directly in non-protected cells with white background.
All overriding values are displayed in bright red.
Values in other colors are from the deriving objects.
Except for on-off and tri-state switches, you can remove an overriding value by pressing the Delete key when the cell is current.
The changes are immediately effective.
More descriptions of Grid Views can be found in the Operating on Grid Views section.
SansGUI Modeling and Simulation Environment Version 1.2
Copyright © 2000-2003 ProtoDesign, Inc. All rights reserved.