Folks,
Attached is a very simple gui tool inspired from a tool that used to exist in VW smalltalk years ago. I suspect it could be rewritten as a single function. Please incorporate into Pharo if you think it's useful. Steve _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project ViewExplorer.st (4K) Download Attachment |
Hi steve
what is the difference with the explorer. If you want to have flash just send us a new menu for explorer? Stef On May 15, 2009, at 8:46 PM, Steve Wirts wrote: > Folks, > > Attached is a very simple gui tool inspired from a tool that used to > exist in VW smalltalk years ago. > I suspect it could be rewritten as a single function. Please > incorporate into Pharo if you think > it's useful. > > Steve > <ViewExplorer.st>_______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
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 On Fri, May 15, 2009 at 3:33 PM, Stéphane Ducasse <[hidden email]> wrote: Hi steve _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
Yes this would be great.
I think that this is important to get better tools not more tools :) Stef On May 15, 2009, at 10:17 PM, Steve Wirts 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 > > > On Fri, May 15, 2009 at 3:33 PM, Stéphane Ducasse <[hidden email] > > wrote: > Hi steve > > what is the difference with the explorer. > If you want to have flash just send us a new menu for explorer? > > Stef > > On May 15, 2009, at 8:46 PM, Steve Wirts wrote: > > > Folks, > > > > Attached is a very simple gui tool inspired from a tool that used to > > exist in VW smalltalk years ago. > > I suspect it could be rewritten as a single function. Please > > incorporate into Pharo if you think > > it's useful. > > > > Steve > > <ViewExplorer.st>_______________________________________________ > > Pharo-project mailing list > > [hidden email] > > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > > > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
In reply to this post by Steve Wirts
----- "Steve Wirts" <[hidden email]> 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 [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
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 <[hidden email]> wrote:
_______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
In reply to this post by Steve Wirts
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" <[hidden email]> 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 | <[hidden email]>wrote: | | > | > ----- "Steve Wirts" <[hidden email]> 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 | > [hidden email] | > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project | > _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project Morph-elementInspectorNodes.st (464 bytes) Download Attachment |
In reply to this post by Stéphane Ducasse
Stephane,
I've done another go round with this, let me know if this is closer to what you are thinking. Thanks Steve On Fri, May 15, 2009 at 4:34 PM, Stéphane Ducasse <[hidden email]> wrote: Yes this would be great. _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project ViewHierarchyExplorer.st (5K) Download Attachment |
Free forum by Nabble | Edit this page |