This post originated from an RSS feed registered with Agile Buzz
by James Robertson.
Original Post: Bf Application Events
Feed Title: Cincom Smalltalk Blog - Smalltalk with Rants
Feed URL: http://www.cincomsmalltalk.com/rssBlog/rssBlogView.xml
Feed Description: James Robertson comments on Cincom Smalltalk, the Smalltalk development community, and IT trends and issues in general.
I've started adding application events to BottomFeeder - something which will allow plugins to take note of events that are happeneing in the main application. Here's what I've got in the dev stream right now:
This message is sent to the plugin class (the one registered with Bf) when the feedlist menu changes due to a feed selection
plugin
customizeMenu: menu
forItem: anItem
andFeed: aFeed
that's sent to the class, not to the instance
To get these events, interested objects should register as a dependent of class RSSFeedViewer
#addedFeedList: feedUrl -- This is sent when a feedlist is successfully added, with the url as an argument
#addedFeed: -- This is sent when a feed is successfully added, with the url as an argument
#newItemsFor: -- This is sent when there are new items for a feed (after an update, manual or via the update loop). The argument is the feed object
#newItemsForAlert: -- This is sent when there are new items for a feed (after an update, manual or via the update loop) which is set for alerts. The argument is the feed object
#removedFeed: -- This is sent when a feed is removed. The argument is the feed url
#removedFeedList: -- This is sent when a feedlist is removed. The argument is the feedlist url
#quitting -- This is sent when the BottomFeeder image is going to quit. The image will not quit before your method returns.
That's what I've got for now; I'm open to input on this!