return null;
}
private DDLMappedNotificationPanel createPanel(@NotNull final VirtualFile virtualFile, final DBSchemaObject editableObject) {
final DBObjectRef<DBSchemaObject> editableObjectRef = editableObject.getRef();
DDLMappedNotificationPanel panel = new DDLMappedNotificationPanel();
panel.setText("This DDL file is attached to the database " + editableObject.getQualifiedNameWithType() + ". Changes done to the " + editableObject.getObjectType().getName() + " are automatically mirrored to this DDL file, overwriting any changes you may do to it.");
panel.createActionLabel("Detach", new Runnable() {
@Override
public void run() {
if (!project.isDisposed()) {
DDLFileAttachmentManager attachmentManager = DDLFileAttachmentManager.getInstance(project);
attachmentManager.detachDDLFile(virtualFile);