[squeak-dev] MCSaveVersionDialog >> #accept has a strongly Morphic flavour

Frank Shearar frank.shearar at gmail.com
Fri May 24 21:50:03 UTC 2013


It calls #findTextMorph: to determine the version and log message.

Now these values are usually stored in two instvars, name and message.
Except that for these variables to be set properly, you'd need to
accept both text panes. So #accept instead pulls the information right
out of the UI by walking the dialog's UI's submorphs and finding the
right morph.

I'd really like to remove this, because it's a lingering dependency
from MCTool to Morphic. (Otherwise, MCTool is a valuable ToolBuilder
helper for the MC browsers.)

Any thoughts?

frank


More information about the Squeak-dev mailing list