Patterns Preferences

From the menubar, select Window > Preferences > Modeling > Patterns to change the preferences that determine which patterns you want Together to recognize in your projects. Once recognized, patterns can be viewed in the Patterns Recognizer.

NB: Currently, except for Singleton and Proxy patterns, only Gang of Four patterns applied using the Patterns wizard are recognized and displayed in the Patterns Recognizer.

General Tab

 

Option Description Default
Mode    
Recognize Patterns when building project If checked, Together will recognize patterns in your projects upon each build/rebuild. If off, you can still recognize patterns by using the context menu in the Patterns Recognizer to rebuild patterns. Off
Include/Exclude Here you can enter a regular expression to denote resources you want included or excluded during pattern recognition. For example:

To include all packages except foo.bar:
Include: <blank>
Exclude: src/foo/bar

To include only packages that start with foo.bar:
Include: src/foo/bar
Exclude: <blank>

To include only packages that start with foo.bar or foo.baz, but do not contain "internal":
Include: src/foo/(bar|baz)
Exclude: internal
 

Patterns Tab

Use this tab to specify which patterns Together recognizes. Check a pattern or category to include it in recognition. Expand or collapse categories to show or hide individual patterns.

 

Option/Button Description
Checks all the boxes on the Patterns tab.
Clears all the boxes on the Patterns tab.