<s> """<STR_LIT>""" <EOL> from . view_chooser import ViewChooser <EOL> from . workbench_action import WorkbenchAction <EOL> class ShowViewAction ( WorkbenchAction ) : <EOL> """<STR_LIT>""" <EOL> id = '<STR_LIT>' <EOL> name = '<STR_LIT>' <EOL> def perform ( self , event ) : <EOL> """<STR_LIT>""" <EOL> chooser = ViewChooser ( window = self . window ) <EOL> ui = chooser . edit_traits ( parent = self . window . control , kind = '<STR_LIT>' ) <EOL> if ui . result and chooser . view is not None : <EOL> chooser . view . show ( ) <EOL> chooser . view . activate ( ) <EOL> return </s>
