The Tree Views of the classes in the left pane provide developers with class and unit object creation and maintenance functions. The class and unit object creation functions have been described in the previous sections, Adding Classes and Adding Unit Objects. In this section, we discuss other operations that can be accessed through the Tree Views.
The following operations are for accessing and deleting classes:
To access the properties of a class, use the Class Properties dialog by:
Double clicking on the class name or icon, or
Right clicking on the class name or icon and selecting the Properties menu item from the context menu.
To access the attributes of a class, click on the class name or icon to display an Attribute Grid View in the right pane. This view contains a list of all of the class attributes, either inherited from the ancestor classes or created locally. The details of the Attribute Grid View are described in the next two sections, Adding Attributes to Classes and Operating on Attribute Grid View. The tabs in the right pane show the most recently selected classes. The number of the Attribute Grid Views displayed in the right pane can be controlled by a SansGUI environmental option. The Options dialog can be obtained via the Tools>Options... menu.
A class can be deleted by performing the following operation:
Right clicking on the class name or icon and selecting the Delete menu item from the context menu.
The delete operation does not immediately remove the class from the Schema Definition; rather, it sets a flag that marks the class deleted. A red X mask is displayed at the lower left corner of the icon of the deleted class. All the references to the deleted class in the attributes of the object reference type or in the component class connectivity specifications are removed. A deleted class will not be shown in any class selection dialogs. In addition, deleted classes will not be included in the generated Object Library.
The delete operation can be reversed by:
Right clicking on the deleted class name or icon and selecting the Undelete menu item from the context menu.
It is important to note that the undelete operation will not restore the object references or the connectivity specifications removed in the delete operation.
The following operations are for accessing and deleting unit objects:
To access the properties of a unit object, open the Object Properties dialog by:
Double clicking on the unit object name or icon, or
Right clicking on the unit object name or icon and selecting the Properties menu item from the context menu.
An object is indicated by a small light blue mask displayed at the lower left corner of the icon.
A unit object can be deleted by performing the following operation:
Right clicking on the object name or icon and selecting the Delete menu item from the context menu.
The delete operation does not immediately remove the unit object from the Schema Definition; rather, it sets a flag that marks the unit object as deleted. A red X mask is displayed at the lower left corner of the icon of the deleted unit object. All the references to the deleted unit object in the attributes of all classes are removed. A deleted unit object will not be shown in the list of available units. In addition, deleted unit objects will not be included in the generated Object Library.
The delete operation can be reversed by the following:
Right clicking on the deleted unit object name or icon and selecting the Undelete menu item from the context menu.
The undelete operation, however, will not restore the unit references removed in the delete operation.
The following operations are global operations, which means that when one of these operations is performed, it will affect all of the classes and unit objects that have been marked as deleted.
To undelete all the deleted classes and unit objects, right click anywhere in the Tree View and select Undelete All from the context menu. All the deleted flags in the classes or objects will be cleared. Similar to single undelete operations, the class references, connectivity specifications, and unit references removed will not be restored.
The following operation will remove all deleted classes and unit objects permanently from the Schema Definition:
Right click anywhere in the Tree View and select the Purge Deleted menu item from the context menu.
There is no recovery operation after this operation is performed.
SansGUI Modeling and Simulation Environment Version 1.2
Copyright © 2000-2003 ProtoDesign, Inc. All rights reserved.