hyperModel provides several different ways to visualize UML models. To get started, use the hyperModel perspective in Eclipse for quick access to all of these features, although these views are available in any Eclipse perspective.
Menu: Window > Open Perspective > hyperModel
- Project Explorer
- Dynamic Class Diagrams (dynagrams)
- Class Diagram Editor
- UML Table Editor
- Message Hierarchy View
To open a UML model, double-click on a .uml file in the Project Explorer view, or right-click and select Open With > UML Table editor. This will open the UML Table Editor as the default editor and will also expand a tree navigator of the model content within the Project Explorer.
The Properties view displays editable detail for selections in most UML editors and views:
To open a dynamic class diagram created from any model classes:
- select one or more classes in the Project Explorer, then right-click and choose Open With > Class Dynagram
In this example screenshot, two classes were selected from the FpML model: Bond and Cash. A UML class diagram will be created on-the-fly using the selected classes as the root nodes and expanding the related classes via associations for the (configurable) number of steps away from these root classes.
You can drill-down into a new class diagram created from one class within this diagram. Just double-click on one of the class names in this diagram (you must click on the class name, not elsewhere in the class box). Right-click on the class name for a context menu of other actions and alternative views, as shown in this screenshot.
Use the window toolbar for other dynagram commands that zoom in/out or change the depth/breadth of diagram expansion.
Note that the identical dynagram functionality is available if you install hyperModel plugins into IBM’s Rational Software Architect®. Just use RSA’s Project Explorer view to open the dynagram for selected packages or classes.
We are working on integrating Eclipse.org Papyrus class diagram editor with hyperModel. Watch this site’s blog (home page) for status and announcements!
The UML Table Editor provides an excellent tool for viewing and editing class properties, or for adding new model content. When creating models that are planned for generation to XSD, you can quickly reorder the properties using drag/drop to design the sequence of XSD complexType element content. The table editor is also an intuitive overview of message content.
To open this editor:
- Select one or more packages or classes in the Project Explorer
- Right-click, and choose Open With > UML Table
- You can also open this editor for the selected class in the class dynagram by using its context menu.
Note that the identical table editor is available if you install hyperModel plugins into IBM’s Rational Software Architect®. Just use RSA’s Project Explorer view, and choose Open With > UML Table for the selected package(s) or class(es).
When working on UML models that are planned for generation to XSD, many modelers find it helpful to visualize the ultimate structure of XML messages using a hierarchical tree of XML elements and attributes. The hyperModel Message Hierarchly View allows you to quickly see the message structure while working directly on the UML information model.
To open this view
- select one class in the Project Explorer, right-click, and choose Open With > Message Hierarchy
- You can also open this view from the selected class in the class dynagram by using its context menu.