parameters: (self)
docstring: Execute when the command is terminated.
  
          We should remove the callbacks that were added to the 3D view
          and then close the task panel.
docstring_summary: Execute when the command is terminated.
docstring_tokens: Execute when the command is terminated .
function: def completed(self):
          """Execute when the command is terminated.
  
          We should remove the callbacks that were added to the 3D view
          and then close the task panel.
          """
          self.view.removeEventCallbackPivy(self.location,
                                            self.callback_move)
          self.view.removeEventCallbackPivy(self.mouse_event,
                                            self.callback_click)
          if Gui.Control.activeDialog():
              Gui.Control.closeDialog()
              super(CircularArray, self).finish()
function_tokens: def completed ( self ) : self . view . removeEventCallbackPivy ( self . location , self . callback_move ) self . view . removeEventCallbackPivy ( self . mouse_event , self . callback_click ) if Gui . Control . activeDialog ( ) : Gui . Control . closeDialog ( ) super ( CircularArray , self ) . finish ( )