Steve, I've attached a method that does what I think you're taking about.
To try it out do the following: (Morph allSubInstances select: [:ea | ea submorphs size > 0 ]) chasingInspect Then poke around in the inspector. To see the full complement of Morph fields click in the '1' button... The method extends the OTInspector and OTChasingInspector and doesn't affect the Explorer. The OmniBrowser tools are much easier to extend. If you think this is useful, I'll include the extension in the standard OT release. Dale ----- "Steve Wirts" <[email protected]> wrote: | Dale, | | I'd like to provide a new checkbox on a menu item for the Explorer | tool, | only if the root is a Morph. | The checkbox (if enabled) would set the explorer tree to be only | child | morphs, not all properties. | | Then a slightly different menu that would include flash, explore, | insepect, | browse hierarchy. | | I'm sure I could figure something out and getting it working but | probably | wouldn't do it properly the first go round. | Any hints at where to start would be usefull. | | Thanks. | steve | | On Fri, May 15, 2009 at 4:44 PM, Dale Henrichs | <[email protected]>wrote: | | > | > ----- "Steve Wirts" <[email protected]> wrote: | > | > | Stef, | > | | > | Only submorphs, the gui hierarchy are shown, this is a really | useful | > | capability when trying to understand deeply nested complex gui | > | structures. | > | I suppose we could put a toggle button on a menu option on | explorer to | > | turn | > | on differernt tree-paths to show as the sub-children. | > | | > | I will try to do that. | > | | > | thanks | > | steve | > | > Steve, | > | > Not sure if this applies or not. But the OT inspectors (regular | inspector | > and chasing inspector) allow for one to provide custom inspectors on | a class | > by class basis (even the ability to provide multiple views)... | > | > If that's what you're getting at, I can give you more information | about | > what it takes to extend the inspector. | > | > Dale | > | > _______________________________________________ | > Pharo-project mailing list | > [email protected] | > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project | >
Morph-elementInspectorNodes.st
Description: Binary data
_______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
