API Reference for Enthought Tool Suite 2.7.1

A factory for generating a Traits editor that uses a ResourceTree as its content control.

This class can be initialized with a dictionary as the first positional parameter and this dictionary will be used as the keywords when constructing the ResourceTree control. This allows you to override the default configuration of the ResourceTree to, for example, change the selection model.

Additionally, if you haven't provided a keyword specification for the resource_manager trait of the ResourceTree control, the second positional argument will specify the id of the Envisage resource manager service that the ResourceTree will use. The editor(s) will retrieve the service from the Envisage application themselves using this id. This architecture allows them to always use the current resource manager (should it ever change during the life of an application.)

Note that if neither the keyword argument nor the id is provided, we fall back to retrieving the resource manager by using the id used by the enthought.envisage.resource plugin to register its resource manager.

Inherits from

Attributes

Inherited from base classes

Method summary

Inherited from base classes

Methods

Copyright © 2002-2008 Enthought, Inc.