Modifying topic classes and instances

From WandoraWiki
(Difference between revisions)
Jump to: navigation, search
 
(3 intermediate revisions by one user not shown)
Line 1: Line 1:
Class is a topic that describes the type of the topic. Each topic may contain zero or more classes.
+
Each topic may be related to zero or more class topics. Class-instance relation is used to express ''a type'' or ''a kind'' of a topic. Next image views traditional topic panel with a '''Schema type''' topic. Red circles mark topic's classes and instances.
  
Class is added to a topic by right-clicking the title header '''Classes''' and selecting '''Add class'''. Operation employs pick-a-topic-type window used to point the topic class. Topic's class is deleted selecting a row in the class table, right-clicking the row and selecting '''Delete classes...'''. Multiple classes can be removed at once.
 
  
Also '''Topics > Add to topic > Add class''' menu selection adds topic a class and '''Topics > Delete from topic > Delete classes''' deletes the class but leaves the class topic intact.
+
[[File:traditional_topic_panel_class_instances.gif|center]]
 +
 
 +
 
 +
Class is added to a topic by right clicking the title header '''Classes''' and selecting '''Add class'''. After selection, Wandora opens a pick-a-topic dialog used to address the topic class. Topic's class is deleted by selecting a row in the '''Classes''' table, right clicking the row, and selecting menu option '''Delete classes...'''. Multiple classes can be removed at once. Notice that deleting a class topic removes only class-instance relation. The topic itself is not removed.
 +
 
 +
Also '''Topics > Add to topic > Add class''' menu selection adds topic a class and '''Topics > Delete from topic > Delete classes''' deletes the class.
  
 
==Modifying topic instances==
 
==Modifying topic instances==
  
Instance is added to a topic by right clicking the title header of Instances table and selecting '''Add instance...'''. Instance is deleted by selecting row in the instance table, right-clicking selected row and selecting '''Loose instances...'''.
+
Instance is added to a topic by right clicking the title header of '''Instances''' table and selecting '''Add instance...'''. Instance is deleted by selecting row in the instance table, right-clicking selected row and selecting '''Delete instances...'''.
  
 
Also menu selections '''Topics > Add to topic > Add instance''' and '''Topics >Delete from topic > Delete instances''' can be used to add and delete instances.
 
Also menu selections '''Topics > Add to topic > Add instance''' and '''Topics >Delete from topic > Delete instances''' can be used to add and delete instances.
 +
 +
== Additional notes ==
 +
 +
Wandora models class-instance relations using internal data structures. Wandora doesn't contain a topic that represents the relation type or role types. This means that Wandora user can not use the relation '''class-instance''' nor role types '''class''' and '''instance''' in part of other relations. Wandora user can't set up a superclass of a '''class-instance''', for example.
 +
 +
Wandora speaks of classes and instances while the Topic map standard speaks of '''types''' and instances. Reader should understand that a '''type''' described in Topic map standard is equivalent to a concept of a '''class''' in Wandora.
  
 
== See also ==
 
== See also ==

Latest revision as of 16:54, 25 February 2013

Each topic may be related to zero or more class topics. Class-instance relation is used to express a type or a kind of a topic. Next image views traditional topic panel with a Schema type topic. Red circles mark topic's classes and instances.


Traditional topic panel class instances.gif


Class is added to a topic by right clicking the title header Classes and selecting Add class. After selection, Wandora opens a pick-a-topic dialog used to address the topic class. Topic's class is deleted by selecting a row in the Classes table, right clicking the row, and selecting menu option Delete classes.... Multiple classes can be removed at once. Notice that deleting a class topic removes only class-instance relation. The topic itself is not removed.

Also Topics > Add to topic > Add class menu selection adds topic a class and Topics > Delete from topic > Delete classes deletes the class.

[edit] Modifying topic instances

Instance is added to a topic by right clicking the title header of Instances table and selecting Add instance.... Instance is deleted by selecting row in the instance table, right-clicking selected row and selecting Delete instances....

Also menu selections Topics > Add to topic > Add instance and Topics >Delete from topic > Delete instances can be used to add and delete instances.

[edit] Additional notes

Wandora models class-instance relations using internal data structures. Wandora doesn't contain a topic that represents the relation type or role types. This means that Wandora user can not use the relation class-instance nor role types class and instance in part of other relations. Wandora user can't set up a superclass of a class-instance, for example.

Wandora speaks of classes and instances while the Topic map standard speaks of types and instances. Reader should understand that a type described in Topic map standard is equivalent to a concept of a class in Wandora.

[edit] See also

Personal tools