--On 3. Januar 2008 07:22:08 -0500 Tres Seaver <[EMAIL PROTECTED]> wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Garito wrote:
Hi!
I plan to create a product I call Zope Smart Manager that consist in a
view similar to freemind for Zope
You could see a picture of my prototype here:
http://blogs.sistes.net/Garito/images/ArbolYanged.png

While I can see visual differences, how does this tree behave
differently than the one which the ZMI shows?

This is just a tree rotated counter-clockwise.


The idea is create a series of monkey patches to all the products we are
interested to see as tree nodes and a series of javascript (prototype +
scriptaculous) for the "client side"

I plan this ZSM view will be my main work view with edition and creation

For that I need some help about how to create the simplest monkey patch
and the javascript objects

I don't know why you think you need to moneky-patch anything:  you
should be able to create such a view using the standard API supplied by
pretty much every existing Zope object.  The ZMI tree code is here:

  $ZOPE_HOME/lib/python/TreeDisplay/TreeTag.py

The only issue I see here is the problem to render the graph from left to right instead from top to bottom. There are several graph-drawing tools available (best to start with Graphviz) that generate images or HTML/Imagemaps.

-aj

Attachment: pgpOAkMuv06os.pgp
Description: PGP signature

_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to