|
IntelliUML Teresa
|
Round-trip EngineeringRound-trip engineering is a two-way process that keeps the Java source code and the UML model synchronized. One way, known as reverse engineering, maps the code into its counterpart UML elements, while the opposite way, forward engineering, maps UML elements into code. IntelliUML Teresa runs this round-trip engineering process transparently, and thus, keeping the Java source code and UML model automatically synchronized at all times. Changes made to code will be reverse engineered, creating and updating the UML elements as necessary to reflect those changes. Likewise, changes to UML elements will be forward engineered into source code. When IntelliUML Teresa is used by first time in a project, the UML repository is empty, except for the model element which is created automatically.
Reverse EngineeringJava source code will be reverse engineered automatically every time a Java file is opened or edited in IDEA's editor. For example, starting with an empty UML repository, if the file 'com/intellij/openapi/components/ApplicationComponent.java' (from IDEA's OpenAPI source) is opened in the editor, IntelliUML Teresa will reverse engineer it into the UML elements shown in the Model Explorer.
Reverse engineering may also be invoked manually for any Java class file or package with the help of the actions and . The difference between and actions is that the former will create UML elements if they don't exist, while the latter will update existing UML elements. To :
To :
Forward EngineeringTo create a new UML element:
To delete a UML element:
If the UML elements to be deleted have no counterpart in the source code and
have dependencies, but not in current selection, (i.e., some other UML element uses it),
a dialog will be shown warning about it: |