# File lib/tapkit/control/editing_context.rb, line 11 def initialize( parent ) @parent_object_store = parent @inserted_objects = [] # GlobalID -> object @deleted_objects = [] @updated_objects = [] @registered_objects = [] @gid_store = GlobalIDStore.new if EditingContext === @parent_object_store then @root_object_store = @parent_object_store.root_object_store else @root_object_store = @parent_object_store end @application = @root_object_store.application end