protected void doOKAction() {
DDLFileAttachmentManager fileAttachmentManager = DDLFileAttachmentManager.getInstance(object.getProject());
Object[] selectedPsiFiles = getSelection();
for (Object selectedPsiFile : selectedPsiFiles) {
VirtualFile virtualFile = (VirtualFile) selectedPsiFile;
fileAttachmentManager.detachDDLFile(virtualFile);
}
super.doOKAction();
}
@Nullable