#NEWLINE# def ui_complete_delete( self , parameters , text , current_param ) : #NEWLINE# #INDENT# '\n        Parameter auto-completion method for user command delete.\n        @param parameters: Parameters on the command line.\n        @type parameters: dict\n        @param text: Current text of parameter being typed by the user.\n        @type text: str\n        @param current_param: Name of parameter to complete.\n        @type current_param: str\n        @return: Possible completions\n        @rtype: list of str\n        ' #NEWLINE# if ( current_param == 'name' ) : #NEWLINE# #INDENT# names = [ child . name for child in self . children ] #NEWLINE# completions = [ name for name in names if name . startswith ( text ) ] #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# completions = [ ] #NEWLINE# #UNINDENT# if ( len ( completions ) == 1 ) : #NEWLINE# #INDENT# return [ ( names [ 0 ] + ' ' ) ] #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return completions