def METHOD_NAME(self, current, previous):
    """Handle selected object change"""
    if isinstance(previous, items.PlaneMixIn):
        previous.sigItemChanged.disconnect(self._planeChanged)
    if isinstance(current, items.PlaneMixIn):
        current.sigItemChanged.connect(self._planeChanged)
        self.setEnabled(True)
        self.getPlot3DWidget().setInteractiveMode('panSelectedPlane')
    else:
        self.setEnabled(False)