In this chapter, we present some of the more important implementation issues for this Model/Framework.
As mentioned in the previous chapter, each widget in the interface has a graphical representation,
a reference to the interface mediator, and a command object. This composite component
is called a pjrWidget. The graphical representation for a pjrWidget
is an instance of a Tool. The reference to the mediator is a pointer to an
instance of the InterfaceMediator class. The command object is an instance
of Command.
The interface for the widget abstraction is:
class pjrWidget {
Tool *tool // graphical representation (Tool is abstract class)
InterfaceMeditor *mediator
Command *command
float prev_val
...
value()
setValue();
}

Figure 6.1: Diagram of pjrWidget