def METHOD_NAME(self):
    # check values RotationAxis
    items = len(self.AxisSelectionWidget.references)
    FreeCAD.Console.PrintMessage(
        "Task panel: found axis references: {}\n{}\n"
        .format(items, self.AxisSelectionWidget.references)
    )
    if items != 1:
        msgBox = QtGui.QMessageBox()
        msgBox.setIcon(QtGui.QMessageBox.Question)
        msgBox.setText(
            "Constraint Centrif requires exactly one line\n\nfound references: {}"
            .format(items)
        )
        msgBox.setWindowTitle("FreeCAD FEM Constraint Centrif - Axis selection")
        retryButton = msgBox.addButton(QtGui.QMessageBox.Retry)
        ignoreButton = msgBox.addButton(QtGui.QMessageBox.Ignore)
        msgBox.exec_()
        if msgBox.clickedButton() == retryButton:
            return False
        elif msgBox.clickedButton() == ignoreButton:
            pass
    # check values BodyReference
    items = len(self.BodySelectionWidget.references)
    FreeCAD.Console.PrintMessage(
        "Task panel: found body references: {}\n{}\n"
        .format(items, self.BodySelectionWidget.references)
    )
    # if no solid is added as reference all volume elements are used
    """
    if items == 0:
        msgBox = QtGui.QMessageBox()
        msgBox.setIcon(QtGui.QMessageBox.Question)
        msgBox.setText("Constraint Centrif requires at least one solid")
        msgBox.setWindowTitle("FreeCAD FEM Constraint Centrif - Body selection")
        retryButton = msgBox.addButton(QtGui.QMessageBox.Retry)
        ignoreButton = msgBox.addButton(QtGui.QMessageBox.Ignore)
        msgBox.exec_()
        if msgBox.clickedButton() == retryButton:
            return False
        elif msgBox.clickedButton() == ignoreButton:
            pass
    """
    # check value RotationFrequency
    if self.rotation_frequency == 0:
        msgBox = QtGui.QMessageBox()
        msgBox.setIcon(QtGui.QMessageBox.Question)
        msgBox.setText("Rotational speed is zero")
        msgBox.setWindowTitle("FreeCAD FEM Constraint Centrif - Rotational speed setting")
        retryButton = msgBox.addButton(QtGui.QMessageBox.Retry)
        ignoreButton = msgBox.addButton(QtGui.QMessageBox.Ignore)
        msgBox.exec_()
        if msgBox.clickedButton() == retryButton:
            return False
        elif msgBox.clickedButton() == ignoreButton:
            pass
    self.obj.RotationFrequency = self.rotation_frequency
    self.obj.RotationAxis = self.AxisSelectionWidget.references
    self.obj.References = self.BodySelectionWidget.references
    self.recompute_and_set_back_all()
    return True