EiffelBench Context Diagram
Replacing EiffelCase, the
Context Diagram is the new case tool. It is integrated in the
development window and therefore associated with an Eiffel class.
The diagram displays the class and optionally its clients, suppliers, ancestors,
descendants and/or the cluster it is in, and the relations between them.
Features
Advantages of including Case in Bench:
- No more reverse engineering: the diagram is always present.
- On-the-fly code generation: changes to the diagram are reflected in the class text and can be compiled and tested immediately.
The tool features all basic manipulations on a BON diagram:
- Adding/removing of supplier links using the Feature Composition Wizard.
- Adding/removing of inheritance links.
- Renaming of a class, with optionally replacing all references to the class in all classes in the universe.
Graphical features include:
- Changing colors of classes.
- Insertion/removal of link midpoints.
The layout of the diagram has been improved over EiffelCase.
Class bubbles are are arranged by means of a topological sort based on inheritance.
Screenshots
|