MCSaveVersionDialog >> #accept has a strongly Morphic flavour

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

MCSaveVersionDialog >> #accept has a strongly Morphic flavour

Frank Shearar-3
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