The figure shows three VisualWorks snapshots including the APE windows and a browser. In this example a user intends to modify the method ``area'' of all classes in ``MyGraphics'' category. Before working on a method ``area'', he wants to save (back up) it.
In the top snapshot, he selects ``MyGraphics'' category (arrow 1), selects class ''Circle'' of that category (arrow 2), selects protocol ''accessing'' (arrow 3) and method ''area'' of that protocol (arrow 4). Then, he selects the '' the ''file out as...'' item in the browser menu (arrow 5) to save the method, and begins to work on it.
Later, after having completed various non repetitive tasks (he modified modified method ''area'' of class ''Circle'', he created a new class ''Triangle'',...), he selects method ''area'' of class ''Diamond'' and saves it (middle snapshot). At this point, the Apprentice has detected two iterations of a repetitive task (''select MyGraphics, select a class, select ''accessing'', select area, file out'') and has learned a habit.
Later on (bottom snapshot - again he has performed some non repetitive actions), he selects category ''MyGraphics''. The Assistant detects that he is about to save one more method ''area'' and offers to complete the loop. If the user mouse-clicks on the suggestion in the Assistant window, the Assistant saves all methods ''area'' not yet saved.