def METHOD_NAME(self, *args, **kwargs):
    tab = self._toolbox.item_factories[self.item_type].make_specification_editor(self._toolbox, *args, **kwargs)
    tab.setAttribute(Qt.WA_DeleteOnClose, True)
    return tab