Difference between revisions of "PrF UG inst creating an instance"
(Automated import of articles) |
|||
Line 10: | Line 10: | ||
Creating instances can give you valuable information about the project structure and its applicability. | Creating instances can give you valuable information about the project structure and its applicability. | ||
As you add instances to your project, | As you add instances to your project, | ||
− | you may expose missing or redundant areas which tell you that you need to redesign some of the class/slot structure. | + | you may expose missing or redundant areas |
− | However, | + | which tell you that you need to redesign some of the class/slot structure. |
− | as you move classes and create and delete slots, | + | However, as you move classes and create and delete slots, |
you may lose information in your instances. | you may lose information in your instances. | ||
− | In addition, | + | In addition, it is difficult to split a single instance into two or more instances. |
− | it is difficult to split a single instance into two or more instances. | + | Therefore, you should not add an extensive base of instances |
− | Therefore, | + | until you believe the structure of your project is fairly stable. |
− | you should not add an extensive base of instances until you believe the structure of your project is fairly stable. | ||
− | This topic describes creating an instance from the | + | This topic describes creating an instance |
− | [[PrF_UG_inst_instance_browser|Instance Browser]], | + | from the [[PrF_UG_inst_instance_browser|Instance Browser]], |
which creates the instance directly in the selected class. | which creates the instance directly in the selected class. | ||
The following additional topics describe other ways to create an instance: | The following additional topics describe other ways to create an instance: | ||
Line 29: | Line 28: | ||
[[PrF_UG_inst_entry_field_instance#Creating_an_Instance|The Instance Fields]] | [[PrF_UG_inst_entry_field_instance#Creating_an_Instance|The Instance Fields]] | ||
for how to create an instance using the <b>Create Instance</b> | for how to create an instance using the <b>Create Instance</b> | ||
− | [[Image:PrF_UG_inst_instance.create.gif|instances_instance.create]] | + | [[Image:PrF_UG_inst_instance.create.gif|instances_instance.create]] button |
− | + | in an instance field. | |
</p> | </p> | ||
<li><p> | <li><p> | ||
− | See | + | See [[PrF_UG_inst_creating_multiple_instances|Creating Multiple Instances]] |
− | |||
for how to create several instances at once, | for how to create several instances at once, | ||
using the wizard on the <b>Tools</b> menu. | using the wizard on the <b>Tools</b> menu. | ||
Line 41: | Line 39: | ||
<li><p> | <li><p> | ||
− | See | + | See [[PrF_UG_inst_copy_instance|Copying an Instance]] |
− | |||
for how to copy an instance, | for how to copy an instance, | ||
using the <b>Copy Instance</b> | using the <b>Copy Instance</b> | ||
− | [[Image:PrF_UG_inst_instance.copy.gif|instances_instance.copy]] | + | [[Image:PrF_UG_inst_instance.copy.gif|instances_instance.copy]] button. |
− | |||
</p> | </p> | ||
</ul> | </ul> | ||
Line 55: | Line 51: | ||
<ol class='a'> | <ol class='a'> | ||
<li><p> | <li><p> | ||
− | Display the | + | Display the [[PrF_UG_inst_instances_tab|Instances Tab]]. |
− | |||
</p> | </p> | ||
<li><p> | <li><p> | ||
− | In the | + | In the [[PrF_UG_inst_class_browser_at_instances|Class Browser]], |
− | |||
highlight the class where you want the instance to appear. | highlight the class where you want the instance to appear. | ||
− | |||
− | |||
</p> | </p> | ||
+ | <div>[[Image:PrF_UG_inst_create_instance_select_class.png| | ||
+ | instances_create_instance_select_class]]</div> | ||
<li><p> | <li><p> | ||
Click the <b>Create Instance</b> | Click the <b>Create Instance</b> | ||
[[Image:PrF_UG_inst_instance.create.gif|instances_instance.create]] | [[Image:PrF_UG_inst_instance.create.gif|instances_instance.create]] | ||
− | [[PrF_UG_inst_instance_buttons|button]] | + | [[PrF_UG_inst_instance_buttons|button]] at the right |
− | + | of the [[PrF_UG_inst_instance_browser|Instance Browser]]. | |
− | + | The new instance will appear in the Instance Browser. | |
− | The new instance will appear in the Instance Browser. | + | It will have a default name, such as project_instance_1. |
− | + | </p> | |
− | + | <div>[[Image:PrF_UG_inst_create_instance_browser.png| | |
− | </p> | + | instances_create_instance_browser]]</div> |
</p> | </p> | ||
<li><p> | <li><p> | ||
− | The | + | The [[PrF_UG_inst_instance_editor|Instance Editor]] |
− | + | at the right will display entry fields corresponding | |
− | at the right will display entry fields corresponding to the slots of the class where the instance was created. | + | to the slots of the class where the instance was created. |
To create values for the fields, | To create values for the fields, | ||
enter the desired information. | enter the desired information. | ||
For more information on how to edit field values, | For more information on how to edit field values, | ||
− | see the | + | see the [[PrF_UG_inst_standard_fields|Standard Fields]]. |
− | |||
</p> | </p> | ||
</ol> | </ol> |
Revision as of 14:57, October 15, 2008
Creating an Instance
Creating instances is part of the iterative process of developing a Protege-Frames project. Before you create instances, you need to have created and organized the classes and slots that model your knowledge base structure.
Creating instances can give you valuable information about the project structure and its applicability. As you add instances to your project, you may expose missing or redundant areas which tell you that you need to redesign some of the class/slot structure. However, as you move classes and create and delete slots, you may lose information in your instances. In addition, it is difficult to split a single instance into two or more instances. Therefore, you should not add an extensive base of instances until you believe the structure of your project is fairly stable.
This topic describes creating an instance from the Instance Browser, which creates the instance directly in the selected class. The following additional topics describe other ways to create an instance:
See The Instance Fields for how to create an instance using the Create Instance button in an instance field.
See Creating Multiple Instances for how to create several instances at once, using the wizard on the Tools menu.
See Copying an Instance for how to copy an instance, using the Copy Instance button.
To create a new instance from the Instance Browser:
Display the Instances Tab.
In the Class Browser, highlight the class where you want the instance to appear.
Click the Create Instance button at the right of the Instance Browser. The new instance will appear in the Instance Browser. It will have a default name, such as project_instance_1.
</p>
The Instance Editor at the right will display entry fields corresponding to the slots of the class where the instance was created. To create values for the fields, enter the desired information. For more information on how to edit field values, see the Standard Fields.
</ol>
</div>