Re: Is a Class diagram of catalyst avaliable ? [message #86189 is a reply to message #86188] |
Thu, 17 October 2013 04:47   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Jie Zhou writes:
> Lately, I begin to try catalyst library. I find the objects make widget graphic more simple. But there are so many different object define code (CLASS). Maybe a Class diagram can make things more convenient.
There is no class diagram available. There is a Document method built
into every object created in the library. If called on the top-level
base object, it will produce HTML documentation of all of the objects
used in the application. This is how the HTML documentation in the docs
directory of the Catalyst Library were created.
There are many objects, but the object hierarchy is, by virtue of the
way IDL implements objects, pretty shallow. In the case of widgets, most
common widget functionality (i.e., functionality belong to all widgets)
is built into the WidgetAtom object. Then, the specifics of each type of
object is built into each individual object (e.g., ListWidget,
TextWidget, etc.). Each widget object also inherits the CatAtom object,
which is the fundamental object *all* objects inherit. This has all the
communication infrastructure for the Catalyst Library built into it.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
|
|
|