def get_editor ( self, trait ):
        from traitsui.api import EnumEditor

        return EnumEditor( values = self,
                           cols   = trait.cols and 3  )

#-------------------------------------------------------------------------------
#  'TraitPrefixMap' class:
#-------------------------------------------------------------------------------
dataset/ETHPy150Open enthought/traits/traits/trait_handlers.py/TraitMap.get_editor/operator `or` -> `and`