r1 - 14 Feb 2006 - 08:21:46 - ReidEllisYou are here: OSAF >  Journal Web  >  ContributorNotes > ReidEllisNotes > ChandlerUILearning

Chandler UI Architecture

While working on the the Markup Bar, I ran into the following code in Detail.py

self.dynamicParent.widget.ToggleTool(self.toolID, shouldToggleBasedOnKind)

There is a lot of knowledge wrapped up in this line. I was doing pretty well until I hit it. Now I needed to find out where in DetailStampButton's class hierarchy the attribute dynamicParent was defined. This is not a trivial task. Ideally there would be a class hierarchy list or diagram somewhere and an easy way to find out what class defined what attributes. Being on a Mac using TextMate?, I felt a bit SOL. Perhaps I could try using an IDE like WingIDE?. But I've heard that that's dead slow and not really usable on a Mac.

Most of the time I revert to using Unix commands to find things. e.g. find . -iname '*.py' -print0 | xargs -0 egrep -i foo

This can be slow and starts a large learning curve. I already feel like I'm "behind" in my learning of how Chandler hangs together. I started to do the deep learning curve thing and started writing up WhereIsEverything. Today I'm going to spend some time with JohnAnderson and hopefully learn a lot more. I will add what I learn to WhereIsEverything as well as taking notes here.

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r1 | More topic actions
 
Open Source Applications Foundation
Except where otherwise noted, this site and its content are licensed by OSAF under an Creative Commons License, Attribution Only 3.0.
See list of page contributors for attributions.