def on_edit ( self, object = None ):
        if object is None:
            object = self._object
        control_info = ControlInfo( **object.get( 'name', 'user_name',
                                                  'style', 'user_style' ) )
        if control_info.edit_traits( parent = self.control ).result:
            name = control_info.name.strip()
            if name != '':
                object.name = name
            object.set( **control_info.get( 'user_name',
                                            'style', 'user_style' ) )
            self.update_layout()

    #---------------------------------------------------------------------------
    #  Enables all features:
    #---------------------------------------------------------------------------
Show a ModelJob
dataset/ETHPy150Open enthought/pyface/pyface/dock/dock_window.py/DockWindow.on_edit--crossover with--dataset/ETHPy150Open NVIDIA/DIGITS/digits/model/views.py/show