Re: [qooxdoo-devel] Internal architecture (and QxTree)
Brought to you by:
ecker,
martinwittemann
From: Sebastian W. <in...@se...> - 2006-04-28 05:45:35
|
Hi Derrel, I don't know what's that interesting about the queues in this case. You shouldn't modify internals to get a widget to work as you like it. In my opinion it could be the first step, to hide the horizontalLayout of the tree. Have you ever took a look at QxTreeFolder for example? The method _createChildrenStructure moves some stuff around. I haven't implemented this already and so don't know if it works flawlessly. I wish you good luck. :) Sebastian Derrell.Lipman@UnwiredUniverse.com schrieb: > After months of mostly lurking here, I've begun to try to get my head around > the code architecture of of Qooxdoo. To try to accomplish this, I've read all > of the on-line docs, built a working demo tree, and am attempting to trace > through the code with an initial goal in mind: some additional configurability > to QxTree and friends. > > I'm having trouble locating where in the code a QxTree is recursed into and > rendered (or, maybe what I want to know is where it is recursed and each > element of the tree _queued_ to be rendered). > > As a first configurability option, I'm trying to enable display of the tree > *without* the 'Root' element. Using the example Tree_1.html as a basis, it > displays a tree like this: > > Root > Desktop > Files > Workspace > Network > Trash > Inbox > Presets > Sent > Trash > ... > > I'd like to display that without the top 'Root' node, In other words, although > 'Root' is the QxTree element with numerous QxFolder and QxFile elements below > it, I want to display the tree like this: > > Desktop > Files > Workspace > Network > Trash > Inbox > Presets > Sent > Trash > ... > > I can't use SetVisibility() of the QxTree node because then the whole tree > (including all subtrees) becomes invisible. Similarly, the 'displayable' > property seems to affect the whole tree, and also doesn't appear to be > intended for external manipulation. I expect I need to add a new property > which causes QxTree to descend into subtrees so the QxFolders and QxFiles get > rendered, without rendering the QxTree itself. > > Pointers to appropriate areas of code would be greatly appreciated! > > Also, are there any additional architecture documents that describe the > complete flow of control? The online docs do a nice job of describing > individual components of the architecture, but nothing that I have found yet > brings it all together for the "big picture". Again, pointers greatly > appreciated! > > Cheers, > > Derrell > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Qooxdoo-devel mailing list > Qoo...@li... > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel |