![](https://secure.gravatar.com/avatar/15f5e6abf26f57e1838c29a8356ce7f8.jpg?s=120&d=mm&r=g)
25 May
2005
25 May
'05
7:51 p.m.
Quoting Bryce Harrington <bryce@...260...>:
I haven't looked very deeply at that, but I suspect it may impose requirements that may make it inconvenient to just have a showDialog() routine. It may be necessary to have a getDialog() routine, to allow the verb handler a chance to make those customizations. However, I think a preferable solution would be to push that custom stuff down into the dialog's code itself, so all dialogs can be handled the same way.
Probably what you are reaching for is the Template Method pattern (http://www.dofactory.com/Patterns/PatternTemplate.aspx), where showDialog() would act as the template method [not to be confused with C++ templates].
-mental