Synchronizing an OOM with Its Java Source

You can synchronize an Object Oriented Model (OOM) with its Java source code, so that each time you modify the model, a source code file is automatically created (for a new object) or updated (for an existing object). Similarly, each time you modify a source code file and save the changes, they appear in the diagram and the Model Explorer.

You can activate synchronization from the Model Explorer or Navigator. A model is synchronized per package. The default package regroups all the objects at the root of the model. Once a package has been synchronized with a model, you cannot synchronize it with another model.

Note:

Synchronize is only available for OOMs targeted with Java.