[Drawkit] Object manipulation notification

Linan Wang tali.wang at gmail.com
Mon Jun 30 08:17:56 PDT 2008


Hi everyone,
I'm working on a program that uses DrawKit to help architects conduct site
analysis. Basically I'm using DKDrawing as a site map, and DKDrawableObject
as arbitrary objects like buildings, streets etc. The logic of the program
need to know when an object is modified (resize, rotate, etc), and the site
map is modified (add new object(s), remove object(s)).

My basic idea is to post notifications when those events happen. I've added
posting notifications codes to DKObjectOwnerLayer to watch add/remove
objects. I'm little bit confused where to add resize/rotate/move
notifications, since methods of DKDrawableObject is not always called by
subclasses.

My question is if it's the best approach? if it is, I feel it's valuable to
add this kind of notifications into the framework since for application
developers, those notifications are important. It would make developers
lives a lot easier. I'd love to contribute to this part of work if it's
valuable.

(btw, congrat, it's a great framework!)

-- 
Best regards

Linan Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.apptree.net/pipermail/drawkit-apptree.net/attachments/20080630/75ad6bbf/attachment.htm>


More information about the Drawkit mailing list