WACallbackRegistry


Seaside-Rendering

Comment:



Hierarchy:

ProtoObject
Object
WACallbackRegistry

Summary:

instance variables:

context owner

methods:

instance class
as yet unclassified as yet unclassified

Detail:

instance variables:

context
inferredType:
UndefinedObject
owner
inferredType:
UndefinedObject

instance methods:

as yet unclassified
initializeWithContext: aContext owner: anObject

	context _ aContext.
	owner _ anObject
registerActionCallback: aBlock

	^ self storeCallback: (WAActionCallback new block: aBlock)
registerCallback: aBlock

	^ self storeCallback: (WAValueCallback new block: aBlock)
registerCancelActionCallback: aBlock

	^ self storeCallback: (WACancelActionCallback new block: aBlock)
registerDefaultActionCallback: aBlock

	^ self storeCallback: (WADefaultActionCallback new block: aBlock)
registerDispatchCallback

	^ self storeCallback: WADispatchCallback new
registerIdempotentActionCallback: aBlock

	^ self storeCallback: (WAIdempotentActionCallback new block: aBlock)
registerImageCallback: aBlock

	^ self storeCallback: (WAImageCallback new block: aBlock)
storeCallback: aCallback

	| key |
	key _ context storeCallback: aCallback.
	aCallback setContext: context owner: owner key: key.
	^ key

class methods:

as yet unclassified
context: aContext owner: anObject

	^ self basicNew initializeWithContext: aContext owner: anObject

^top


- made by Dandelion -