private boolean createSingleViewsDirectory() {
    String functionDiffViewsPath = workspace.getWorkspaceFile().getParentFile().getPath();
    functionDiffViewsPath = FileUtils.ensureTrailingSlash(functionDiffViewsPath);
    functionDiffViewsPath += FUNCTION_DIFF_VIEWS_DIRECTORY_NAME;

    destinationDir = new File(functionDiffViewsPath);
    if (!destinationDir.exists()) {
      return destinationDir.mkdir();
    }

    return true;
  }
Save dialog for function diff views.
java/ui/src/main/java/com/google/security/zynamics/bindiff/gui/dialogs/SaveFunctionDiffViewDialog.java