Merge branch 'master' into net213-jlamia-publish-ux
authoreonosovskaia <evgeniia.onosovskaia@jetbrains.com>
Fri, 30 Jul 2021 10:30:21 +0000 (13:30 +0300)
committerintellij-monorepo-bot <intellij-monorepo-bot-no-reply@jetbrains.com>
Fri, 30 Jul 2021 10:30:21 +0000 (10:30 +0000)
GitOrigin-RevId: 185ca2215ed727f2c22d772039b3bb99df42d053

1  2 
platform/lang-impl/src/com/intellij/ide/actions/CreateFileFromTemplateDialog.java
platform/lang-impl/src/com/intellij/ide/actions/TestDialogBuilder.java

index bf91840b1f7c5b3beeb3831fe3f646f7b6067f37,a1c2b4b43b2898dea47c8eb1365d09940224b55b..c59aacce5edb0d5f8b626aa6599a9d9813a512d8
@@@ -346,7 -352,7 +366,8 @@@ public class CreateFileFromTemplateDial
    public interface Builder {
      Builder setTitle(@DialogTitle String title);
      Builder setValidator(InputValidator validator);
+     Builder setDefaultText(String text);
 +    Builder setDialogOwner(@Nullable Component owner);
  
      default Builder addKind(@NlsContexts.ListItem @NotNull String kind, @Nullable Icon icon, @NonNls @NotNull String templateName) {
        return addKind(kind, icon, templateName, null);