Difference between revisions of "PrF UG meta change metaslot"

From Protege Wiki
Jump to: navigation, search
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
== Changing the Slot Metaclass of a Slot ==
 
== Changing the Slot Metaclass of a Slot ==
  
{{PrF_UG_TOC_meta}}<div id='prf_ug'>
+
<noinclude>{{PrF_UG_TOC_meta}}<div id='prf_ug'></noinclude>
  
 
If you have multiple slot metaclasses in your project,
 
If you have multiple slot metaclasses in your project,
Line 22: Line 22:
 
<ol class='a'>
 
<ol class='a'>
 
   <li><p>
 
   <li><p>
     In the [[PrF_UG_slots_slots_tab|Slots Tab]],
+
     In the [[PrF_UG_slots_slots_tab|Slots tab]],
 
     click on the slot that you want to change.
 
     click on the slot that you want to change.
 
     </p>
 
     </p>
 
     <div>[[Image:PrF_UG_meta_slot_selected.png|frame|none|
 
     <div>[[Image:PrF_UG_meta_slot_selected.png|frame|none|
           Slots Tab, billing_charts selected]]</div>
+
           Slots tab, "billing_charts" selected]]</div>
  
 
   <li><p>
 
   <li><p>
Line 32: Line 32:
 
     </p>
 
     </p>
 
     <div>[[Image:PrF_UG_meta_change_slot_metaclass.png|frame|none|
 
     <div>[[Image:PrF_UG_meta_change_slot_metaclass.png|frame|none|
           Change slot metaclass... selected]]</div>
+
           "Change slot metaclass..." selected]]</div>
  
 
   <li><p>
 
   <li><p>
Line 40: Line 40:
 
     </p>
 
     </p>
 
     <div>[[Image:PrF_UG_meta_slot_metaclass_dialog.png|frame|none|
 
     <div>[[Image:PrF_UG_meta_slot_metaclass_dialog.png|frame|none|
           Select Slot Metaclass dialog]]</div>
+
           Select Slot Metaclass dialog, "Sample Metaslot" selected]]</div>
  
 
   <li><p>
 
   <li><p>
Line 50: Line 50:
  
  
</div>
+
<noinclude></div></noinclude>

Latest revision as of 18:23, November 13, 2008

Changing the Slot Metaclass of a Slot


Protege-Frames User's Guide
Metaclasses
Understanding Metaclasses
Example: Creating and Using a Metaclass
Looking at :STANDARD- CLASS
Creating a Metaclass
Creating a Class Using a Metaclass
Changing the Metaclass of a Class
Changing the Metaclass of Subclasses
Setting the Default Metaclass
Customizing the Class or Slot Editor
Understanding Slot Metaclasses
Creating a Slot Metaclass
Changing the Slot Metaclass of a Slot
Creating a Subslot Using a Slot Metaclass
Changing the Slot Metaclass of Subslots
Setting the Default Slot Metaclass
Glossary, Editing Help

If you have multiple slot metaclasses in your project, then for any existing slot, you can change the slot metaclass you use for that slot. This gives the slot and the Slot Editor the attributes defined by the new slot metaclass. Subslots that you create subordinate to the slot will also use the new slot metaclass. However, any existing subslots will continue to use their previously assigned slot metaclass unless you specifically change it.

Unlike metaclasses, you cannot create a slot using the slot metaclass. If you want to have a slot that uses a specfic slot metaclass, you must first create the slot, then change the slot metaclass.

To change the slot metaclass of an existing slot:

  1. In the Slots tab, click on the slot that you want to change.

    Slots tab, "billing_charts" selected
  2. Click the right mouse button and select Change slot metaclass....

    "Change slot metaclass..." selected
  3. A dialog box displays the slot metaclasses. Note that if the slot currently uses a non-standard slot metaclass, you can revert to :STANDARD-SLOT.

    Select Slot Metaclass dialog, "Sample Metaslot" selected
  4. Select the slot metaclass that has the properties that you want and click OK. The highlighted slot will now have the Slot Editor and properties determined by the selected slot metaclass.