Package Modeling :: Module EditingContext
[show private | hide private]
[frames | no frames]

Module Modeling.EditingContext

EditingContext

Notifications

ObjectsChangedInStoreNotification -- declared in 'ObjectStore', refer to
its documentation for details
ObjectsChangedInEditingContextNotification -- Same as the previous one,
except that the values posted in the 'info' field along with the notification are objects, not GlobalIDs.

Important: Listeners for these notification should take care not to hold the transmitted objects or globalIDs ; if they need to store them, e.g. to process things later, please keep weak-references on them.

Implementation note: (__TBD) maybe this ('weakref') should be done before posting the notifications.

CVS information

$Id: EditingContext.py,v 1.34 2004/07/20 06:21:37 sbigaret Exp $

Classes
EditingContext EditingContext: an in-memory world/graph of objects, with the ability to ensure its own persistence, to check its consistency, etc.

Exceptions
ObjectNotRegisteredError Raised whenever an object is accessed that should be inserted in an EditingContext but is not.

Function Summary
  defaultParentObjectStore()
See interfaces.EditingContext for details
  setDefaultParentObjectStore(anObjectStore)
See interfaces.EditingContext for details

Function Details

defaultParentObjectStore()

See interfaces.EditingContext for details

setDefaultParentObjectStore(anObjectStore)

See interfaces.EditingContext for details

Generated by Epydoc 2.1 on Sat Mar 4 13:36:26 2006 http://epydoc.sf.net