public void reopenEditor(DBSchemaObject object) {
FileEditorManager fileEditorManager = FileEditorManager.getInstance(object.getProject());
VirtualFile virtualFile = findDatabaseFile(object);
if (fileEditorManager.isFileOpen(virtualFile)) {
fileEditorManager.closeFile(virtualFile);
fileEditorManager.openFile(virtualFile, false);
}
}
public void fileOpened(@NotNull FileEditorManager source, @NotNull VirtualFile file) {