From: Mike C. F. <mcf...@ho...> - 2001-09-13 05:14:05
|
I've just put together a very basic class topological sort with the idea of making the UML view a little more readable on load. Basically it takes a pointer to a list of class objects and generates a list of generations which are sorted so that parent classes always show up above child classes. There is obviously more that would eventually be useful (weighting members of a generation so that they clump together with hereditarily similar members being the most obvious first step. Before I start into that, though, I'm wondering where to stand with my little lever. Basically, I'm wondering how to go about creating and registering a view so that it will show up in the view menu of the editor. View loading seems to be handled through a lot of abstract calls to other objects from the Editor frame, I'm wondering if there's somewhere I can just type in the class/module name and have the class show up. Suggestions appreciated, Mike |