FileEditorManager.getInstance(genCtx.getProject()).openFile(fileToOpen, true, true);
}
});
} else if (JOptionPane.YES_OPTION == overwriteInd) {
//user wants to merge, so create the files and we get them together
new DiffFileAction().showDiff(writer.toString(), fileToOpen, this.genCtx);
} else {
log.warn("Couldn't create the virtual file for some reason");
}
} catch (Exception e) {
log.error("Exception while attempting to create the JUnit file", e);