Sun WBEM SDK Developer's Guide

Instance Window

The Instance window lists all instances for a selected class. You can also view the properties, methods, and qualifiers associated with each instance.

You display the Instance window by:

Frames of the Instances Window

If the selected class has instances, the instances are listed in the left frame of the Instances window. Each instance is displayed with its Name, CreationClassName, and TargetOperatingSystem. If the selected class does not have instances, a message is displayed.

Like the CIM WorkShop window, the right frame of the Instances window contains two tabs: Properties tab and Methods tab. All properties of the selected instance are displayed in the table of the Properties tab. The Inherited Properties icon—which appears in the left column of the Properties table as a purple rectangle with an arrow pointing to a white rectangle—indicates that the property is inherited from the class used to create the instance. The Key Qualifiers icon—which appears as a gold key—indicates that a property has an inherited Key qualifier.

Instances Window Toolbar Icons

The Instances window contains the following icons in the toolbar:

Table 2–6 Instance Window Toolbar Icons

Icon Name 

Description 

Add New Instance 

Causes the Add Instance dialog box to display in which you can create a new instance to add to the class inheritance tree 

Delete Selected Instance 

Enables you to delete a selected instance 

Save Current Instance Property Values 

Updates the property values of the current instance. 

Refresh Instance List 

Updates the list of instances in the left side of the Instances window with the newest instances and the latest changes to instances 

Menus of the Instances Window

The instances window contains the following menus and menu items:

Table 2–7 Menus of the Instances Window

Menu Name 

Menu Item 

Description 

Instance Editor 

Exit 

Causes the Instances window to close 

Action 

Add Instance 

Causes the Add Instances dialog box to display, in which you can create new instances to add to the class inheritance tree 

 

Delete Instance 

Enables you to delete a selected instance 

 

Association Traversal 

Displays the Reference Traversal dialog box, in which you can view and traverse all the associations of a class. 

 

Refresh 

Causes the latest changes to be retrieved from the CIM Object Manager and displayed in CIM WorkShop for a selected class or namespace. 

Help 

 

Displays CIM WorkShop Copyright information.