public DDLMappedNotificationPanel createNotificationPanel(VirtualFile virtualFile, FileEditor fileEditor) {
if (virtualFile instanceof DatabaseEditableObjectFile) {
if (fileEditor instanceof DDLFileEditor) {
DatabaseEditableObjectFile editableObjectFile = (DatabaseEditableObjectFile) virtualFile;
DBSchemaObject editableObject = editableObjectFile.getObject();
DDLFileEditor ddlFileEditor = (DDLFileEditor) fileEditor;
VirtualFile ddlVirtualFile = ddlFileEditor.getVirtualFile();
return createPanel(ddlVirtualFile, editableObject);
}
return null;
} else {
if (virtualFile.getFileType() instanceof DBLanguageFileType) {