use of git4idea.util.GitSimplePathsBrowser in project intellij-community by JetBrains.
the class GitUtil method showPathsInDialog.
public static void showPathsInDialog(@NotNull Project project, @NotNull Collection<String> absolutePaths, @NotNull String title, @Nullable String description) {
DialogBuilder builder = new DialogBuilder(project);
builder.setCenterPanel(new GitSimplePathsBrowser(project, absolutePaths));
if (description != null) {
builder.setNorthPanel(new MultiLineLabel(description));
}
builder.addOkAction();
builder.setTitle(title);
builder.show();
}
Aggregations