Hi Usman,
First of all, it's cool to see a visualization of a .Net system :).
Related to your problem, we get it in all systems we analyze. So, as Adrian said, you should select only the classes that you are interested in before visualizing them. If you just want all classes that are not named Object, just open all classes and in the select field from the bottom part you can write !'*Object', and after pressing Select this will open another pane to the right with the right group of classes.
Another solution is to mark as stub the entities that do not belong to your application, but that still appear in the model. To do that you have to add a property (stud true) to those entities.
Afterwards, you can use this property to distinguish between entities in the model. So, in your case, you can select all classes, and you can use {each isStub not} to get only the classes in your model.
As for your second question, if .Net considers them as classes, then I guess having them as classes will do just fine.
Cheers, Doru
On Jun 15, 2007, at 1:40 PM, Adrian Kuhn wrote:
Dear Usman,
the best workaround is to remove Object from the Group of Classes that you're visualizing.
cheers, AA
On 15 Jun 2007, at 13:30 , Usman Bhatti wrote:
Hello all,
I successfully extracted all the informationr related to all the classes in the system but when I visualize these classes in the "Spaced System Complexity" in MOOSE, all my classes which are parent or so-called "root" classes of the system appear to inherit from the "Object" class of .NET Framework. This is ok since if a class doesn't have a parent, I assign it to inherit from object and whose stub parameter is set to true.
What really bothers me is that inheritance from the Object class should be implicit in the visualization to emphasize the existance of lone classes or classes without any hierarchy (therefore absence of encapsulation and abstraction). But the relation with the object is explicit, that is, all the classes are shown to inherit from the object class in the visualization. I am attaching a screenshot of the visualization. Can someone please point where I am getting it wrong?
Secondly, how do I represent the enumerated types present in the system? .NET framework considers them as classes so they are reported as classes.
Usman
P.S if the screenshot is not readable, then the topmost class of all classes is System.Object <system_model.PNG> _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.iam.unibe.ch/~girba www.iam.unibe.ch/~girba/blog/
"Every thing should have the right to be different."