Difference between revisions of "PrF UG classes references window"

From Protege Wiki
Jump to: navigation, search
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
== The References Window ==
 
== The References Window ==
  
{{PrF_UG_TOC_classes}}<div id='prf_ug'>
+
<noinclude>{{PrF_UG_TOC_classes}}<div id='prf_ug'></noinclude>
  
 
In a complex project,
 
In a complex project,
 
it is possible to have many different relationships
 
it is possible to have many different relationships
 
between classes, instances, and slots.
 
between classes, instances, and slots.
A <i>reference</i> for a frame is any other frame that has a direct relationship to it.
+
A <i>reference</i> for a frame is any other frame
 +
that has a direct relationship to it.
 
The References window can be viewed by selecting an item
 
The References window can be viewed by selecting an item
 
and clicking on the <b>References</b>
 
and clicking on the <b>References</b>
([[Image:PrF_UG_classes_class.view_references.gif|classes_class.view_references]]
+
([[Image:PrF_UG_classes_class.view_references.gif|
or [[Image:PrF_UG_inst_instance.view_references.gif|instances_instance.view_references]]) button.
+
  classes_class.view_references]]
See [[PrF_UG_classes_view_references|Viewing References]] for more information.
+
or [[Image:PrF_UG_inst_instance.view_references.gif|
 +
    instances_instance.view_references]]) button.
 +
See [[PrF_UG_classes_view_references|
 +
      Viewing References]] for more information.
  
 
<div>[[Image:PrF_UG_classes_references_dialog.png|frame|none|
 
<div>[[Image:PrF_UG_classes_references_dialog.png|frame|none|
       Relations to Advertisement dialog box]]</div>
+
       References to Advertisement dialog, "name" selected]]</div>
  
 
It is also possible to view those classes that are related through a particular slot,
 
It is also possible to view those classes that are related through a particular slot,
Line 72: Line 76:
 
=== The View Buttons ===
 
=== The View Buttons ===
  
 +
<div class='b'>
 
{| summary="view buttons"
 
{| summary="view buttons"
 
| width="50" |
 
| width="50" |
Line 88: Line 93:
 
<b>View References to Value:</b> Shows the references for the highlighted frame.
 
<b>View References to Value:</b> Shows the references for the highlighted frame.
 
|}
 
|}
 +
</div>
  
 
=== The Frame Column ===
 
=== The Frame Column ===
Line 104: Line 110:
 
For example:
 
For example:
  
 +
<div class='b'>
 
{| summary="standard slots"
 
{| summary="standard slots"
 
| width="175" | DIRECT-INSTANCES
 
| width="175" | DIRECT-INSTANCES
Line 129: Line 136:
 
(for a [[PrF_UG_slots_value_type_instance|slot of type <b>Instance</b>]]).
 
(for a [[PrF_UG_slots_value_type_instance|slot of type <b>Instance</b>]]).
 
|}
 
|}
 +
</div>
  
 
The name of any other slot in the project may also appear in this column.
 
The name of any other slot in the project may also appear in this column.
Line 149: Line 157:
 
as an <b>Allowed Class</b> or an <b>Allowed Superclass</b>.
 
as an <b>Allowed Class</b> or an <b>Allowed Superclass</b>.
  
</div>
+
 
 +
<noinclude></div></noinclude>

Latest revision as of 17:33, November 13, 2008

The References Window


Protege-Frames User's Guide
Classes
Classes Tab
Class Browser
Class Buttons
Class Hierarchy Window
Class Icons
Class Menu
Class Search Bar
Superclasses Pane
Class Editor
Constraints
Template Slots Pane
Template Slot Buttons
References Window
Creating a New Class
Creating Multiple Subclasses
Deleting a Class
Displaying the Class Editor
Editing a Class
Editing Template Slots
Finding a Class
Hiding a Class
Replacing a Superclass
Adding a Superclass
Jumping to A Superclass
Removing a Superclass
Viewing Class Relations
Classes & Instances Tab
Viewing References
Glossary, Editing Help

In a complex project, it is possible to have many different relationships between classes, instances, and slots. A reference for a frame is any other frame that has a direct relationship to it. The References window can be viewed by selecting an item and clicking on the References (classes_class.view_references or instances_instance.view_references) button. See Viewing References for more information.

References to Advertisement dialog, "name" selected

It is also possible to view those classes that are related through a particular slot, using the Relations Menu.

Examples

For example, references for a class include:

  • any superclasses of the class

  • any direct subclasses of the class

  • any instances of the class

  • any direct slots (inherited slots are not considered to be references)

  • any notes at the class

  • the metaclass of the class

For a slot, references include:

  • any superslots or subslots

  • :STANDARD-SLOT or other slot metaclass

  • any classes that have the slot attached as a direct slot

The References window allows you to view a list of all the references of a selected frame.

The View Buttons

all_object.view

View Reference: Opens the editor for the highlighted frame and allows you to view the frame's properties. Depending on the frame, this could be the Class Editor, the Slot Editor, or the Instance Editor.

all_object.view_references

View References to Value: Shows the references for the highlighted frame.

The Frame Column

This column shows the name of each frame that references the highlighted item. The type of frame is indicated by a class icon, slot icon, or instance icon (instances_instance).

The Slot Column

This column specifies the slot that actually references the selected item. Note that Protege-Frames provides standard slots which indicate the relationship between the selected item and the referencing frame. For example:

DIRECT-INSTANCES The selected item is a direct instance of the frame.

DIRECT-SUPERCLASSES

The selected item is a direct superclass of the frame.

DIRECT-SUBCLASSES

The selected item is a direct subclass of the frame.

SLOT-VALUE-TYPE

The frame is a slot and the selected item appears as one of its values. If the selected item is an instance, it may be a value. If the selected item is a class, it may be an Allowed Superclass (for a slot of type Class) or an Allowed Class (for a slot of type Instance).

The name of any other slot in the project may also appear in this column.

The Facet Column

This column gives information about the facet value for certain types of references and gives information about the slot relationships between classes. For example, an item may appear as a value for a slot which is called by that frame.

In the illustration above, the class Author appears as an Allowed Class for the slot author, as shown in the second row. In addition, the slot author appears as a slot for the class Article. Therefore, Article references Author. This reference appears in the fifth row in the example.

For an embedded reference of this type, the facet value column specifies whether the selected item appears as an Allowed Class or an Allowed Superclass.