Chapter 7 Working with Eclipse


Synchronizing an OOM with its Java source code

You can synchronize an Object Oriented Model (OOM) with its Java source code. In other words, each time you modify the model, a source code file is automatically created (in the case of a new object) or updated (in the case of an existing object). Likewise, each time you modify a source code file and save the changes, these changes appear in the diagram and the Model Explorer.

Synchronization is activated from the Model Explorer or the 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, see the section "Limitations".

Note   Other languages
You cannot synchronize an OOM targeted with another language than Java

 


Copyright (C) 2005. Sybase Inc. All rights reserved.