1
#------------------------------------------------------------------------------
3
# Copyright (c) 2009, 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
#------------------------------------------------------------------------------
15
""" Defines the BasicUIEditor class, which allows creating editors that define
16
their function by creating an embedded Traits UI.
19
#-------------------------------------------------------------------------------
21
#-------------------------------------------------------------------------------
23
from traitsui.ui_editor import UIEditor as BaseUIEditor
25
from editor import Editor
27
#-------------------------------------------------------------------------------
28
# 'UIEditor' base class:
29
#-------------------------------------------------------------------------------
31
class UIEditor(BaseUIEditor, Editor):
32
""" An editor that creates an embedded Traits UI.