View this PageEdit this PageAttachments to this PageHistory of this PageHomeRecent ChangesSearch the SwikiHelp Guide
Hotspots: Admin Pages | Turn-in Site |
Current Links: Cases Final Project Summer 2007

PluggableTextMorph

Since these are covered decently in the book, there won't be too much detail here. A few code snippets to give you an idea of what can be done though.

Helpful code

ptm = PluggableTextMorph new.
ptm on: (MyModel new) text: #aMethod accept: nil readSelection: nil menu: nil.
The method called by text: needs to be a method inside of the model being passed into the on: method and the method must return a string.


Link to this Page