<s> """<STR_LIT>""" <EOL> from __future__ import absolute_import <EOL> from traits . api import Dict , Str , Any , Bool <EOL> from . . view import View <EOL> from . . group import Group <EOL> from . . ui_traits import AView <EOL> from . . editor_factory import EditorFactory <EOL> class _Identity ( object ) : <EOL> """<STR_LIT>""" <EOL> def __call__ ( self , value ) : <EOL> return value <EOL> mapping_trait = Dict ( Str , Any ) <EOL> evaluate_trait = Any ( _Identity ( ) ) <EOL> class ToolkitEditorFactory ( EditorFactory ) : <EOL> """<STR_LIT>""" <EOL> mapping = mapping_trait <EOL> auto_set = Bool ( True ) <EOL> enter_set = Bool ( False ) <EOL> multi_line = Bool ( True ) <EOL> read_only = Bool ( False ) <EOL> password = Bool ( False ) <EOL> evaluate = evaluate_trait <EOL> evaluate_name = Str <EOL> view = AView <EOL> readonly_allow_selection = Bool ( False ) <EOL> traits_view = View ( [ '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' ] ) <EOL> extras = Group ( '<STR_LIT>' ) <EOL> TextEditor = ToolkitEditorFactory </s>
