What is a CaseNodeControl object?
| O |
class MyNodeControl(CaseNodeControl,
faqcontrols.TextOnlyNodeControl,
faqcontrols.TextULNodeControl):
"""This is the node control which masquerades as a
TextULNodeControl at level 1, and as a TextOnlyNodeControl at level 2.
All the masquerading code is in CaseNodeControl. You have to inherit
from the other controls for typecorrectness."""
DictClasses = {
1 : faqcontrols.TextULNodeControl,
2 : faqcontrols.TextOnlyNodeControl
}
creates a NodeControl object which when displaying nodes at level 1, does what TextULNodeControl does, at level 2 does what TextOnlyNodeControl does and at all other levels does not display anything.

