Navigation | Overlay |
---|---|
t Navigate files | h Toggle hits |
y Change url to tip of branch | m Toggle misses |
b / v Jump to prev/next hit line | p Toggle partial |
z / x Jump to prev/next missed or partial line | 1..9 Toggle flags |
shift + o Open current page in GitHub | a Toggle all on |
/ or ? Show keyboard shortcuts dialog | c Toggle context lines or commits |
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 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: 03/03/2006
|
|
15 |
#
|
|
16 |
# ------------------------------------------------------------------------------
|
|
17 |
|
|
18 |
""" Defines the BasicUIEditor class, which allows creating editors that define
|
|
19 |
their function by creating an embedded Traits UI.
|
|
20 |
"""
|
|
21 |
|
|
22 |
|
|
23 |
from traitsui.ui_editor import UIEditor as BaseUIEditor |
|
24 |
|
|
25 |
from .editor import Editor |
|
26 |
|
|
27 |
# -------------------------------------------------------------------------
|
|
28 |
# 'UIEditor' base class:
|
|
29 |
# -------------------------------------------------------------------------
|
|
30 |
|
|
31 |
|
|
32 |
class UIEditor(BaseUIEditor, Editor): |
|
33 |
""" An editor that creates an embedded Traits UI.
|
|
34 |
"""
|
|
35 |
|
|
36 |
pass
|
|
37 |
|
|
38 |
|
|
39 |
# -- End UI preference save/restore interface -----------------------------
|
Read our documentation on viewing source code .