There are two basic methods that can be used to edit code:
The specification and implementation files for the selected classes or package open in separate windows. You can use the internal code editor or an external code editor to edit the files.
In addition, the dynamic model-code associativity setting determines whether open code views are updated if the code is modified by an external editor or the code generator. In the case of code generation, the code might have changed significantly. If this happens, the following message might be displayed:
filename: This file has been modified outside the source editor. Do you want to reload?
If you click Yes, the code view is refreshed with the new file contents and does not replace implementation files with obsolete information.