API Reference for Enthought Tool Suite 3.2.0

Abstract base class for an adapter that implements the ITreeNode

interface.

Usage:

  1. Create a subclass of ITreeNodeAdapter.
  2. Add an 'adapts( xxx_class, ITreeNode )' declaration (usually placed right after the 'class' statement) to define what class (or classes) this is an ITreeNode adapter for.
  3. Override any of the following methods as necessary, using the 'self.adaptee' trait to access the adapted object if needed.

Note: This base class implements all of the ITreeNode interface methods, but does not necessarily provide useful implementations for all of the methods. It allows you to get a new adapter class up and running quickly, but you should carefully review your final adapter implementation class to make sure it behaves correctly in your application.

Inherits from

Attributes

Inherited from base classes

Method summary

Inherited from base classes

Methods

© Copyright 2002-2009 Enthought, Inc.