From: "Stefan Bodewig" <[EMAIL PROTECTED]>

> > please consider moving that logic to
> > MultipleChoiceInputRequest.getPrompt() which would override
> > InputRequest's getPrompt() method.
> 
> I've thought about this before, but then I'd get the modified prompt
> in the SwingInputHandler as well, which is not what you want (as the
> choices are obvious by the combo box).  So I felt it was the
> responsibility of the handler.

Yep, I realized it a little while after I hit the
Send button.  Maybe each InputRequest should
have a getStringifiedPrompt() method then,
which by default returns getPrompt()?

> 
> Stefan
> 

Cheers,
Magesh

**************************************************
*  Opportunist: A person who starts taking bath  *
*  if he accidentally falls into a river.        *
**************************************************



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to