Overriding Values


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.

Using Part Properties Dialog

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:

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.

Using Link Properties Dialog

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.

Using Grid View

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.

More descriptions of Grid Views can be found in the Operating on Grid Views section.

 



C:\FH_Suite\htmlgifs\home.gif Connecting Parts with Links Creating Subassemblies

SansGUI Modeling and Simulation Environment Version 1.2

Copyright © 2000-2003 ProtoDesign, Inc. All rights reserved.

http://protodesign-inc.com