~ubuntu-branches/ubuntu/trusty/python-traitsui/trusty

« back to all changes in this revision

Viewing changes to traitsui/wx/tuple_editor.py

  • Committer: Bazaar Package Importer
  • Author(s): Varun Hiremath
  • Date: 2011-07-09 13:57:39 UTC
  • Revision ID: james.westby@ubuntu.com-20110709135739-x5u20q86huissmn1
Tags: upstream-4.0.0
ImportĀ upstreamĀ versionĀ 4.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#------------------------------------------------------------------------------
 
2
#
 
3
#  Copyright (c) 2005, Enthought, Inc.
 
4
#  All rights reserved.
 
5
#
 
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
 
10
#
 
11
#  Thanks for using Enthought open source!
 
12
#
 
13
#  Author: David C. Morrill
 
14
#  Date:   12/13/2004
 
15
#
 
16
#------------------------------------------------------------------------------
 
17
 
 
18
""" Defines the tuple editor for the wxPython user interface toolkit.
 
19
"""
 
20
 
 
21
#-------------------------------------------------------------------------------
 
22
#  Imports:
 
23
#-------------------------------------------------------------------------------
 
24
 
 
25
 
 
26
# FIXME: ToolkitEditorFactory is a proxy class defined here just for backward
 
27
# compatibility. The class has been moved to the
 
28
# traitsui.editors.tuple_editor file.
 
29
from traitsui.editors.tuple_editor \
 
30
    import SimpleEditor as BaseSimpleEditor, ToolkitEditorFactory
 
31
 
 
32
from editor \
 
33
    import Editor
 
34
 
 
35
#-------------------------------------------------------------------------------
 
36
#  'SimpleEditor' class:
 
37
#-------------------------------------------------------------------------------
 
38
 
 
39
class SimpleEditor ( BaseSimpleEditor, Editor ):
 
40
    """ Simple style of editor for tuples.
 
41
 
 
42
        The editor displays an editor for each of the fields in the tuple,
 
43
        based on the type of each field.
 
44
    """
 
45
    pass
 
46
 
 
47
### EOF #######################################################################