[Pharo-project] Issue 3291 in pharo: Missing text field with completion
alain.plantec at free.fr
Thu Nov 25 15:58:16 CET 2010
Le 25/11/2010 12:03, Lukas Renggli a écrit :
>> So, its a basic widget which, afaik is missing and that could be used with
> I don't follow what you and Francisco are saying.
> IMHO there is a much better widget already in OB.
sorry but why much better?
OBCompletionRequest is a dialog.
What I propose is to enrich PluggableTextFieldMorph
with the possibility to use a completion list.
So we have two differents things here.
And indeed, OBCompletionRequest should be named CompletionRequest
and integrated in the core.
Showing it in the browser find class was not a good idea...
> I suggest to make
> that a standard widget so that other tools outside of OB can take
> advantage too.
> It is simple subclass of DialogWindow morph from Polymorph and can be
> fully configured and opened for example like this:
> OBCompletionRequest new
> prompt: 'Find Class';
> searchBlock: [ :string | self findClassIn: target environment
> pattern: string ];
> labelBlock: [ :class | class name ];
> iconBlock: [ :class | class browserIcon ];
> Lukas Renggli
More information about the Pharo-project