[size=13][SNIP][/size]
2. When importing C# with a package per directory qualified relationships are not imported properly. This is because EA uses the package structure to help resolve the namespace qualifiers for linking purposes. In your example there is no package B that contains BaseClass1. As a result no relationship can be created. This is part of the reason for the warning that all languages that support namespaces should be imported with 'Package per Namespace'. It doesn't give as accurate a view of the code structure, although it can still be helpful in some circumstances.
Simon,
This is the perennial problem of UML - in that packages are
namespaces not
foldersIn addition, EA goes to great lengths to
hide the physical file associated with the EAElement.
Perhaps there is need for two views of the model:
1) The Repository Browser (what we currently call the Project Browser) which details the model as structured from the point of view of UML (NOTE: packages should be rendered as UML package glyphs NOT folder glyphs)
2) The Artifact Explorer that is structured according to the physical location of the artifacts. That is, take the GenFile column in the database and use it to drive the structure of this view. Rendering is as per Windows Explorer - with Folders rendered as folders, drives as drives, nodes as nodes.
That way, you clearly separate the two concepts. If your model and file structure match, the two windows will match; if not, you have the views you need.
Now, if that's a good idea, it should be extended to adorn the Repository Browser element icons with an indicator to say there is/isn't a physical file associated with this EAElement and if there is, whether it exists or not. (Check for file existence would NOT normally be continuous - but on a per request basis)
Thoughts anyone? Votes?
Paolo
[size=0]©2006 Paolo Cantoni, -Semantica-[/size]