www.altova.com
Previous  Top  Next

Details Window


The Details Window (screenshot below) provides a compact and editable description of the item selected in the Main Window. In an ontology,  the Details Window is especially useful for creating and editing instances of a class. The Details Window can be toggled between display and hidden modes by clicking the menu command View | Details.

 

ss_detailsview

 

The screenshot above shows the details of the instance doc:XMLSpyEnterpriseUserManualENHTML in the Details Window. Compare it with the display in the Main Window, which is shown below. While in the Main Window all the details are displayed graphically, they are displayed in a compact table form in the Details Window and can be edited there.

 

ss_detailsviewcompare

 

 

Labels and comments

The screenshot above shows the Details Window of the XMLSpyEnterpriseUserManualENHTML instance of the EnglishWebPage class. You can add an rdfs:label or rdfs:comment element to the instance by editing the value field of rdfs:label or rdfs:comment, respectively, and then pressing Enter. The dropdown list for these two elements offers options for the value of the xml:lang attribute that can be defined for them. When a label or comment is added, it appears in a bold, dark gray font. If you wish to delete an rdfs:label or rdfs:comment element, go to the Detail View of the instance, select the instance, right-click the label or comment, and select Remove Label or Remove Comment, respectively.

 

 

Creating and editing properties

The properties related to the instance's class are listed in the bottom half of the window, below the black rule. You can edit the values of these properties as well as create new or additional properties. The dropdown list for each property value offers the available options. In the case of literal objects, such as dc:date in the screenshot above, you can toggle between a datatype selection (by clicking DT in the bottom half of the ic_datatype icon) or an xml:lang selection (by clicking Lang in the top half of the ic_lang icon). When a property is added, it appears in a bold, dark gray font. If you wish to delete a property, switch to Detail View, right-click the property, and select Delete.

 

Note:Double-clicking the diagonal reference arrow of a class or an instance ic_isref, causes the graph of that class or instance to be displayed in Detail View; details are also displayed in the Details Window.

 

 

Defining a new instance

To define a new instance using the Details Window, do the following:

 

1.Select the Instances tab.
2.Click the Add New button in the top left of the Instances tab.
3.Name the newly created instance.
4.Since the instance is selected, its details are displayed in the Details Window. From the dropdown list of the type field, select the class for this instance. All the classes in the ontology will be listed in the dropdown list.
5.After the class is selected, the properties related to the class appear in the Property pane of the window. Select the value of each property as required.
6.When you have completed the definition of the instance in the Details Window, save the document.

 


Previous  Top  Next

© 2008 Altova