void (int index) { ProjectTemplate template = getElementAt(index); super.remove(index); if (template instanceof LocalArchivedTemplate) { FileUtil.delete(new File(((LocalArchivedTemplate)template).getArchivePath().getPath())); } }