Announcements

Announcement
An Announcement is xxxxxxxxx.
Instance Variables
,
asAnnouncement
handles:
This method exists in case a non exception class is the first arg in an on:do: (for instance using a exception class that is not loaded). We prefer this to raising an error during error handling itself. Also, semantically it makes sense that the exception handler is not active if its exception class is not loaded
open
AnnouncementSet
An AnnouncementSet is xxxxxxxxx.
Instance Variables
,
handles:
This method exists in case a non exception class is the first arg in an on:do: (for instance using a exception class that is not loaded). We prefer this to raising an error during error handling itself. Also, semantically it makes sense that the exception handler is not active if its exception class is not loaded
AnnouncementSpy
An AnnouncementSpy is xxxxxxxxx.
Instance Variables
announcements: <Object>
announcer: <Object>
index: <Object>
announcements
- xxxxx
announcer
- xxxxx
index
- xxxxx
announce:
announcements
announcements:
announcer
announcer:
buildMenu:
buildWith:
changed:
Receiver changed. The change is denoted by the argument aParameter.
Usually the argument is a Symbol that is part of the dependent's change
protocol. Inform all of the dependents.
clear
close
extent
index
index:
initialize
Subclasses should redefine this method to perform initializations on instance creation
label
on:
open
openOn:
perform:orSendTo:
If I wish to intercept and handle selector myself, do it; else send it to otherTarget
Announcer
The code is based on the announcements as described by Vassili Bykov in <http://www.cincomsmalltalk.com/userblogs/vbykov/blogView?searchCategory=Announcements%20Framework>. The implementation is a slightly extended and generalized version of the code found in OmniBrowser by Colin Putney.
announce:
on:do:
on:send:to:
open
subscribe:do:
subscribe:send:to:
unsubscribe:
when:do: