def METHOD_NAME(self):
    """Execute when the command is called."""
    super(ShapeString, self).METHOD_NAME(name="ShapeString")
    if self.ui:
        self.ui.sourceCmd = self
        self.task = ShapeStringTaskPanelCmd(self)
        self.call = self.view.addEventCallback("SoEvent", self.task.action)
        _msg(translate("draft", "Pick ShapeString location point"))
        todo.ToDo.delay(Gui.Control.showDialog, self.task)