def OnEmailPaste(self, text): ChooseFormat.importEmail(text, self.blockItem.itsView, selectedCollection=True)
def OnFilePaste(self): for filename in self.fileDataObject.GetFilenames(): ChooseFormat.importFileGuessFormat(filename, self.blockItem.itsView, selectedCollection=True)