lukas could you publish CompletionRequest somewhere in a place like a bug entry so that we integrate it :) Stef
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 ob-tools. 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... Cheers Alain
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 ]; signal
Lukas
-- Lukas Renggli www.lukas-renggli.ch