ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Magesh Umasankar" <umag...@apache.org>
Subject Re: [PROPOSAL] simple input framework
Date Thu, 28 Feb 2002 14:33:41 GMT
From: "Stefan Bodewig" <bodewig@apache.org>


> > 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:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message