From the menubar, select Window > Preferences > Modeling > Java to change Java-specific preferences.

| Option | Description | Default |
|---|---|---|
| Source code | ||
| Update diagram immediately on changes in the text editor | If checked, code changes made in the editor are reflected in the diagram without saving or rebuilding. | On |
| Save resources automatically on changes in the diagram | If checked, changes made to diagram resources are saved automatically and immediately | On |
| Optimize imports | If checked, import statements are automatically optimized. | On |
| On renaming Java elements with default names (Class1, attribute1, etc.) call refactoring | Renaming Java elements causes refactoring throughout the project. | Off |
| Associations | ||
| Association link name prefix | Specifies the letters to precede the field identifier in your code when your create links. | lnk |
| Show associations as attribute | All: Shows all attributes representing association
links. None: Shows no attributes representing association links. Automatic: Does not show attributes representing association links that have names starting with "lnk" (or whatever prefix you specify in the "Association link name prefix" field). Does show all other attributes representing association links. |
Automatic |
| Link deletion | ||
| Delete attributes on deletion of target types | If checked, references are deleted from code when target type is deleted. | On |
| On deleting types, update extends and implements clauses | If checked, extends and implements clauses are updated when changes are made to associated element. | On |
| Java Bean Properties Support | ||
| Recognize Java Bean Properties | If checked, Together recognizes Java Bean properties. | On |
| Hide Java Bean Properties Participants | If checked, Java Bean properties participants are hidden. | On |
| Default template names | ||
| Class | Sets the default name for a new class element. | Class |
| Interface | Sets the default name for a new interface element. | Interface |
| Field | Sets the default name for a new field element. | field |
| InnerClass | Sets the default name for a new inner class element. | InnerClass |
| InnerInterface | Sets the default name for a new inner interface element. | InnerInterface |
| method | Sets the default name for a new method element. | method |
| Order of creation of the new members | ||
| Member order | Sets the display order for members. |
Field Constructor Method Inner Class Inner Interface |
| Visibility order | Sets the visibility display order for code elements. |
Public Package Local Protected Private |
|
|
Click Up and Down to set visibility and member ordering. |