ChangesBrowserDialog (CommittedChangesTableModel changelists, @Nullable @NlsContexts.DialogTitle String title, @Nullable Component parent, Consumer<? super ChangesBrowserDialog> initRunnable) { final ChangesBrowserDialog.Mode mode = ChangesBrowserDialog.Mode.Browse; final ChangesBrowserDialog dlg = parent != null ? new ChangesBrowserDialog(myProject, parent, changelists, mode, initRunnable) : new ChangesBrowserDialog(myProject, changelists, mode, initRunnable); if (title != null) { dlg.setTitle(title); } return dlg; }