<s> from traits . api import HasTraits , Str , Int <EOL> from traitsui . api import View , Item , Group <EOL> import traitsui <EOL> class SimpleEmployee2 ( HasTraits ) : <EOL> first_name = Str <EOL> last_name = Str <EOL> department = Str <EOL> employee_number = Str <EOL> salary = Int <EOL> traits_view = View ( Group ( Item ( name = '<STR_LIT>' ) , <EOL> Item ( name = '<STR_LIT>' ) , <EOL> Item ( name = '<STR_LIT>' ) , <EOL> label = '<STR_LIT>' , <EOL> show_border = True ) ) <EOL> sam = SimpleEmployee2 ( ) <EOL> sam . configure_traits ( ) </s>
