Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
Pluggable Views
Last updated at 10:07 pm UTC on 8 December 2006

Version 2.0 of Squeak includes a complete rewrite of all the MVC windows to use pluggable views. A pluggable view has a set of selectors that parameterize its model interface in such a way that instances of the same view class can be used on many different models. This simplifies and factors the system – we were able to reclaim about 50 classes (!) from the old MVC system in the course of this rewrite. More importantly, it left us with only a handful of classes to convert in order to run all our existing development system in a morphic-only world. Nearly the entire view mechanism has been funnelled down to

StandardSystemView
PluggableListView
PluggableTextView
PluggableButtonView

for which we have written morphic counterparts,

SystemWindowMorph
PluggableListMorph
PluggableTextMorph
PluggableButtonMorph.