Please note: this project is inactive since early 2006

4.7.2 Controlling the finalization stage

There are circumstances where the default behaviour is not what you want. For example:

Here is how you can control the finalization stage:

is a class attribute that controls the global behaviour for all EditingContext instances except those which were specifically configured (see below). If set to true, all existing and future EditingContexts will invalidate their objects when they are destroyed, otherwise they won't.

controls whether a specific EditingContext instance invalidates its objects when it's been disposed. Note that this setting supersedes the previous one.

Comments are welcome: Sebastien Bigaret / Modeling Home Page
Hosted Logo