-
Open the Java Architect module preferences panel from the menu bar: Configuration→Modules…
-
In the Project Configuration select the Java Architect module
-
Select and unfold the 'Teamwork' group

Do not generate non modifiable elements
If checked, java files are not generated for element that have not been locked by the user.
However, generation is still carried out recursively on all sub-elements. This way, you can run the generation command on the non modifiable root package, in order to only generated elements that have been locked.
Non modifiable element generation behavior
What to do during generation of a non modifiable element if the file on disk has been modified since last generation:
-
Overwrite the file;
-
Backup the modified file into a .mine file;
-
Ignore the element and keep the modified file;
-
Cancel generation.
Generate read only files
All sources files generated from locked model elements will be read only, to avoid unwanted modifications.
You must generate again after getting a lock in order to make the according files writable.
Generate on update
When updating a shared work model, generate java files for every updated element.