To enable design pattern detection on a Java project P, a JTransformer factbase must be created and loaded into DPJF (→ steps 1 and 2 below).
If multiple factbases are loaded you must switch to the one that you want (→ step 3 below).
Check whether the capital letters 'JT' are displayed as overlay on the icon of P in the Package Explorer. If not, right-click on the project and select from the context menu
This will automatically generate and load a factbase for P. Successful completion of this process is indicating by displaying
Yellow 'JT' letters displayed as overlay on the icon of P indicate that the creation of the factbase is not finished yet. It may take seconds to minutes depending on the project size. Please be patient. To see what is going on you can open the Progress View.
Grey 'JT' overlay letters indicate that JTransformer has been activated for the project in a former Eclipse session and a cached version of the factbase has been saved (at the end of the last session) but has not been loaded yet.
Then loading of the factbase for P must be triggered explicitly by selecting the name of P in the
If multiple factbases are loaded you must switch to the one that you want by selecting the proper factbase name in the
As you have noted, loading cached factbases and switching to another loaded factbase is done in the same way.