final Project project = ActionUtil.getProject(e);
if (project!= null && virtualFile != null) {
new SimpleLaterInvocator() {
public void execute() {
SimpleContent originalContent = new SimpleContent(referenceText, virtualFile.getFileType());
DBSourceFileContent changedContent = new DBSourceFileContent(project, virtualFile);
DBSchemaObject object = virtualFile.getObject();
if (object != null) {
String title =
object.getSchema().getName() + "." +