开发者

Is there a reusable Dialog for getting a class name in Pharo?

I开发者_如何学C need something better than writing the entire class name in a text field. Maybe a reduced view of the System Browser.

I've searched class names with 'Dialog' and 'Window' but i couldn't find it.


A while ago I've implemented a pluggable completion dialog for OmniBrowser. This is the blog post describing it for end-users:

     OmniBrowser Completion Dialog

The model is implemented in OBCompletionRequest and the morphic view in OBCompletionDialog. While the code currently depends on the OmniBrowser infrastructure, it should be relatively easy to extract. There are no difficult dependencies.

The model is fully pluggable, so the dialog works with any collection of entities. Furthermore, the dialog scales well to huge lists: displaying and filtering all system classes or all system selectors is no big deal.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜