Paul McNett wrote:
There's a lot of handwaving there, but I think it's not too hard,
especially borrowing chunks of code from ClassDesigner - give me a
day or two to see if bears fruit (or if I need to ask more questions.
I'm interested to see what you come up with, but conceptually I think
my idea is much more straightforward.
I think (having actually tried it) that you're right - generating code
which can be sub-classed is very simple, and automating the creation of
that file when the cdxml file is written should be straightforward. A
couple of tweaks to the createClassText method and I think it will just
work - at least for simple cases. The other way should work (I think)
just as well - but because it can't reuse as much of what's already
done, it would be more effort.
Two hours and it should be ready to look at and critique (and hopefully
by then it will have continued to shrink to the point that you say "why
did that take two hours" :-)
--
Alex Tweedly http://www.tweedly.net
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.8.2/356 - Release Date: 05/06/2006
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users