Applying the pattern

 

Model before use of the pattern

The initial class is a class containing a certain number of services.

 

Figure 134. Initial model

 

 

Operating mode

The pattern is run from the class context menu.

 

Figure 135. Calling the pattern

 

 

A dialog box opens suggesting default names for the class and interface that will be deduced from the initial class.  It is possible to modify these names.

 

Figure 136. Dialog box for entering class and interface names

 

Once you have made your modifications, confirm them by clicking on "OK".