def METHOD_NAME(self, event):
    """Event fired when import from clipboard button is clicked"""
    text = fromClipboard()
    if text:
        sIS = ImplantSets.getInstance()
        try:
            sIS.importSets(text)
            self.stNotice.SetLabel(_t("Patterns successfully imported from clipboard"))
        except ImportError as e:
            pyfalog.error(e)
            self.stNotice.SetLabel(str(e))
        except (KeyboardInterrupt, SystemExit):
            raise
        except Exception as e:
            pyfalog.error(e)
            self.stNotice.SetLabel(_t("Could not import from clipboard: unknown errors"))
        finally:
            self.entityEditor.refreshEntityList()
    else:
        self.stNotice.SetLabel(_t("Could not import from clipboard"))