Unlike the Project Manager, the Model View window lets you navigate your project based on the logical relationships between the classes and other elements in source code. The Model View window actually presents these relationships from two very different perspectives: code visualization, which derives a UML class diagram from arbitrary Delphi code, and visualization of ECO-enabled packages and classes. Code visualization scans source code and derives the elements, such as namespaces and classes, and the relationships between them. Therefore, you can think of code visualization as a superset, or raw view of the logical relationships in your code. Because it gives you an unfiltered view by design, code visualization will naturally expose some implementation details behind the ECO framework.
A notable example of this is the fact that UML packages are actually implemented as classes, as opposed to .NET namespaces as one might expect. On a code visualization diagram, you will see UML packages represented as classes within your project's namespace. On an ECO class diagram however, you will see the true, logical representation of the UML package. When developing ECO applications, a general rule to follow is to use code visualization diagrams to view the non-ECO elements of your project.
In the Model View window, all of your ECO-enabled UML packages and classes will be grouped under a top-level root package in the project tree. The default name of the root UML package is CoreClassesPackage. The root UML package node (and all UML packages underneath it) is distinguished from an ordinary .NET namespace node by its icon. The icon, , represents a .NET namespace discovered by code visualization. The icon, Eb , represents a UML package.
Similarly, ECO classes are distinguished from their code visualization counterparts by a different icon. The icon, S^ , represents a class discovered by code visualization. The icon, B , represents an ECO-enabled class.
Was this article helpful?
What you need to know about… Project Management Made Easy! Project management consists of more than just a large building project and can encompass small projects as well. No matter what the size of your project, you need to have some sort of project management. How you manage your project has everything to do with its outcome.