Notifying Changes to Data or Customizing Objects

Purpose

The data container informs graphics proxies of changes to data and/or customizing objects automatically so that they can update their graphics accordingly.

Process Flow

The data container calls the graphics proxy's method NOTIFY in IF_GP_NOTIFICATION. It can give one of three reasons for the message:

  • Data was changed in the data container. Changed data should be read from the data container and the graphic updated.

  • Data has changed in the data container. All the data should be read from the data container and the graphic updated.

  • The data container cancels the registration - that is, it does not send any more data. This message is possible/necessary if the data container is destroyed before all the graphics proxies have cancelled their registration.

  • Data was not changed but customizing objects were changed (see documentation on the method NOTIFY in the class builder).

For more information, see Reading and Changing Values .

Result

The graphics proxies are now aware of changes to data in the data container or that the registration has been cancelled.