#NEWLINE# def _on_dclick( self , object ) : #NEWLINE# #INDENT# ' Called when a node in the tree editor is double-clicked.\n        ' #NEWLINE# if isinstance ( object , SceneAdderNode ) : #NEWLINE# #INDENT# self . info . object . _perform_new_scene ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# object . edit_traits ( view = object . dialog_view ( ) , parent = self . info . ui . control )