He he. When the cost of building a tool gets too low, developers feel compelled to work on embellishments just to feel like they did something :). And I see you used yet another undocumented feature: filtering the inspector :) Nice job! Doru On Tue, Mar 10, 2015 at 9:14 PM, Torsten Bergmann <astares@gmx.de> wrote:
I spend some more minutes. So using GTTools in Pharo 4beta and a few more methods, pragmas, icons later we now have:
MongoBrowser open
which I also made available in the Tools menu. If you want to try out go to "Tools" -> "ConfigurationBrowser" and load MongoTalk in Pharo 4beta.
See attached screenshot.
This makes:
3 methods as class extensions for a custom GT inspector on each mongo domain object (mongo, database, collection) 4 methods to provide the 4 icons 1 method to provide the pragma for inclusion into world menu (#menuCommandOn:) 1 method to open
which makes 9 methods to build a Mongo database UI browser in Pharo Smalltalk! Without the icons and menu item only 4 !!! Hey - Pharo rocks already and with GTTools we get even more empowered!
Thanks to anyone who contributed to MongoTalk (especially Kent Beck for the initial implementation).
Have fun T.
-- www.tudorgirba.com "Every thing has its own flow"