Manifesting project contents

 

To manifest the UML model elements to be processed by the project targets, simply select a project in the "Projects" panel and drag and drop the desired model elements from the Objecteering model explorer into the "Project Contents" tree.  Only UML packages and classes can be manifested. Objecteering C++ Developer creates manifestation links from the project artifacts to the dropped elements.  As a result, the dropped elements will be processed by the C++ code generation, documentation and compilation targets associated with the project.

 

For example, we want to separately work with the Windows GUI part of our task management application.  We want its code and documentation to be generated in a separate directory hierarchy, and we want to obtain code for it without generating the rest of the model. We create the "Windows GUI" project, select it in the "Projects" panel and drag and drop the "Windows" package into the "Project Contents" panel (Figure 66).

 

Figure 66. Manifesting the "Windows" package

 

You can un-manifest a model element from the project by selecting the element in the "Project Contents" tree and clicking on the  "Un-manifest" icon.  Only packages and classes on the top level of the "Project Contents" hierarchy can be un-manifested.