Diagram Add-On

For more detailed information, please check the online help in Eclipse, it is much more exhaustive than the information here. You can get there from the Eclipse main menu by selecting Help > Help Contents. There will be a chapter for the ObjectAid Diagram Add-On once you have downloaded the plug-in.

Note that you need a license to use the Diagram Add-On. Install a License describes how to do that.

Overview

The Diagram Add-On provides numerous additional features for the ObjectAid Class and Sequence Diagram, some of which are discussed below in more detail.

  • Add notes with free text into any diagram. They can also be connected to existing diagram elements.
  • Save diagrams in the SVG and PDF formats in addition to GIF, JPEG and PNG. SVG files can be viewed with some web browsers, for example Firefox.
  • The Diagrams view shows all ObjectAid diagrams.
  • The Manhattan router keeps all relationship segments either horizontal or vertical.
  • The search for a diagram's classifiers can made more lenient.
  • Edit the multiplicity of associations in class diagrams.
  • Show associations as aggregations or compositions.
  • Define which type parameters of generic types can become associations.
  • Copy the qualified name of classifiers, operations and attributes with a context menu in relevant places.
  • Hide property accessors (getters and setters) to save space in your class diagram.
  • Use a new toolbar to quickly change the visibility of operations and attributes. Another toolbar allows the alignment of nodes in class diagrams.
  • Print diagrams in different modes to automatically scale to pages.
  • Change the color of individual diagram nodes.
  • A context menu for classifiers allows you to add classifiers that the currently selected one depends on.

Notes

You can either add a note that is linked to an existing diagram element, or just create a note and link it to diagram elements later.

Notes can be linked to classifiers and relationships in class diagrams.

Notes can also be linked to objects and messages in sequence diagrams.

Diagrams View

The Diagrams view shows a live list of all ObjectAid diagrams in your current workspace. From it, you can open any diagram, update its automatic image or print it.

Hide Property Accessors

You can hide property accessors, i.e. the getters and setters for properties. When the accessors are hidden, a bean icon is shown next to the attribute.

Accessors Shown
Accessors Hidden

Show Associations as Aggregations or Compositions

You can switch either side of an association to be an aggregation or composition.

Manhattan Router

The Manhattan router keeps all relationship segments either horizontal or vertical, no matter how you move individual bendpoints. The segment that connects to a classifier will always be orthogonal to the side in enters.

Making classifier search more lenient can be helpful to keep your diagrams intact when project names have changed but the qualified names have not, for example when a project has been checked out under a different name.

Define Your Own Associations from Type Parameters

ObjectAid has always supported a unique feature: associations are reverse engineered from from the type parameters of generic Collections and Maps, giving you the 1-n associations you expect. Now you can get the same feature for any generic class of your choosing, and you can specify the multiplicity for each type parameter as well. The screen shot above shows the default associations from type parameters in the Diagram Add-On's Preferences.