Difference between revisions of "PrF UG projects remove included project"
Line 19: | Line 19: | ||
<li><p> | <li><p> | ||
Click the <b>Remove Project</b> | Click the <b>Remove Project</b> | ||
− | [[Image:PrF_UG_projects_project.remove.gif|projects_project.remove]] button, | + | ([[Image:PrF_UG_projects_project.remove.gif|projects_project.remove]]) button, |
at the top right of the <b>Manage Included Projects</b> dialog box. | at the top right of the <b>Manage Included Projects</b> dialog box. | ||
</p> | </p> | ||
Line 31: | Line 31: | ||
You will see a warning: | You will see a warning: | ||
</p> | </p> | ||
− | <div>[[Image:PrF_UG_projects_included_reload_warn.png| | + | <div>[[Image:PrF_UG_projects_included_reload_warn.png|frame|none| |
− | + | save/reload warning dialog]]</div> | |
<li><p> | <li><p> | ||
Line 65: | Line 65: | ||
<li><p> | <li><p> | ||
− | + | {{#var:Pr}} keeps all the subclasses of X that were created in project A, | |
but they are now subclasses of a class called <b>:UNDEFINED</b>, | but they are now subclasses of a class called <b>:UNDEFINED</b>, | ||
because when you removed included project B, you lost class X. | because when you removed included project B, you lost class X. |
Revision as of 11:57, October 25, 2008
Removing an Included Project
Removing an included project removes that project and any included projects it may have.
Select Manage Included Projects from the Project menu. The current project, and its included projects, if any, will be shown in a project hierarchy.
Highlight the project you want to remove.
Click the Remove Project () button, at the top right of the Manage Included Projects dialog box.
To remove additional projects, repeat steps 2-3.
Click OK. You will see a warning:
Click OK to remove the project. You will see a number of warnings. Classes that were included from the project; any classes you created subordinate to those classes will still appear as subclasses of :UNDEFINED. For example:
Let's say you have a project A.
Then, you include project B in project A.
From project B, you get a class called X.
In project A, you make a bunch of subclasses of X.
Then, you remove project B from project A.
Protege keeps all the subclasses of X that were created in project A, but they are now subclasses of a class called :UNDEFINED, because when you removed included project B, you lost class X.