1
#-------------------------------------------------------------------------------
3
# Copyright (c) 2011, 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
""" Editor that displays an interactive Python shell.
18
#-------------------------------------------------------------------------------
20
#-------------------------------------------------------------------------------
22
# FIXME: ToolkitEditorFactory is a proxy class defined here just for backward
23
# compatibility. The class has been moved to the
24
# traitsui.editors.shell_editor file.
25
from traitsui.editors.shell_editor import \
26
_ShellEditor as BaseShellEditor
28
from editor import Editor
30
#-------------------------------------------------------------------------------
31
# 'ShellEditor' class:
32
#-------------------------------------------------------------------------------
34
class _ShellEditor(BaseShellEditor, Editor):
35
""" Editor that displays an interactive Python shell.
38
def init(self, parent):
39
super(_ShellEditor, self).init(None)