1
#------------------------------------------------------------------------------
2
# Copyright (c) 2005, Enthought, Inc.
5
# This software is provided without warranty under the terms of the BSD
6
# license included in enthought/LICENSE.txt and may be redistributed only
7
# under the conditions described in the aforementioned license. The license
8
# is also available online at http://www.enthought.com/licenses/BSD.txt
9
# Thanks for using Enthought open source!
11
# Author: Enthought, Inc.
12
# Description: <Enthought naming package component>
13
#------------------------------------------------------------------------------
14
""" The base class for all context adapters. """
17
# Enthought library imports.
18
from traits.api import Any, Dict, Instance, Property, Str
21
from context import Context
24
class ContextAdapter(Context):
25
""" The base class for all context adapters. """
27
#### 'ContextAdapter' interface ###########################################
29
# The object that we are adapting.
32
# The context that the object is in.
33
context = Instance(Context)
35
#### EOF ######################################################################