Events within the OpenCAGE Model

Figure 8-3. Observers within the OpenCAGE Model

Observers within the OpenCAGE Model

From all the messages of a Node_Model_Observer only the "Destroying" Message is relevant here.

The RFG_View_Master_Model has to be informed if one of its views is destroyed. Therefore it has the View_Observer, which implements the Node_Model_Observer and is attached to all views. The RFG_View_Node_Model uses the Node_Model_Observer in order to send messages.

The communication between the RFG_View_Node_Model and the RFG_Node_Model work in the same way.