1
#------------------------------------------------------------------------------
3
# Copyright (c) 2006, Enthought, Inc.
6
# This software is provided without warranty under the terms of the BSD
7
# license included in enthought/LICENSE.txt and may be redistributed only
8
# under the conditions described in the aforementioned license. The license
9
# is also available online at http://www.enthought.com/licenses/BSD.txt
11
# Thanks for using Enthought open source!
13
# Author: David C. Morrill
16
#------------------------------------------------------------------------------
18
""" Defines the tree-based Python value editor and the value editor factory,
19
for the wxPython user interface toolkit.
22
#-------------------------------------------------------------------------------
24
#-------------------------------------------------------------------------------
26
# FIXME: ToolkitEditorFactory is a proxy class defined here just for backward
27
# compatibility. The class has been moved to the
28
# traitsui.editors.value_editor file.
29
from traitsui.editors.value_editor \
30
import _ValueEditor, ToolkitEditorFactory
32
from editor import Editor
34
class SimpleEditor( _ValueEditor, Editor):
35
""" Returns the editor to use for simple style views.
38
# Override the value of the readonly trait.
41
class ReadonlyEditor( _ValueEditor, Editor):
42
""" Returns the editor to use for readonly style views.
45
# Override the value of the readonly trait.
48
### EOF #######################################################################