public class TestDialogBuilder extends java.lang.Object implements CreateFileFromTemplateDialog.Builder
TestDialogBuilder.TestAnswers
in AnActionEvent.getDataContext()
with the key TestDialogBuilder.TestAnswers.KEY
.Modifier and Type | Class and Description |
---|---|
static class |
TestDialogBuilder.TestAnswers |
Modifier and Type | Method and Description |
---|---|
CreateFileFromTemplateDialog.Builder |
addKind(java.lang.String kind,
javax.swing.Icon icon,
java.lang.String templateName) |
java.util.Map<java.lang.String,java.lang.String> |
getCustomProperties() |
CreateFileFromTemplateDialog.Builder |
setTitle(java.lang.String title) |
CreateFileFromTemplateDialog.Builder |
setValidator(InputValidator validator) |
<T extends PsiElement> |
show(java.lang.String errorTitle,
java.lang.String selectedItem,
CreateFileFromTemplateDialog.FileCreator<T> creator) |
<T extends PsiElement> |
show(java.lang.String errorTitle,
java.lang.String selectedItem,
CreateFileFromTemplateDialog.FileCreator<T> creator,
Consumer<? super T> elementConsumer) |
public CreateFileFromTemplateDialog.Builder setTitle(java.lang.String title)
setTitle
in interface CreateFileFromTemplateDialog.Builder
public CreateFileFromTemplateDialog.Builder setValidator(InputValidator validator)
setValidator
in interface CreateFileFromTemplateDialog.Builder
public CreateFileFromTemplateDialog.Builder addKind(java.lang.String kind, javax.swing.Icon icon, java.lang.String templateName)
addKind
in interface CreateFileFromTemplateDialog.Builder
public java.util.Map<java.lang.String,java.lang.String> getCustomProperties()
getCustomProperties
in interface CreateFileFromTemplateDialog.Builder
public <T extends PsiElement> T show(java.lang.String errorTitle, java.lang.String selectedItem, CreateFileFromTemplateDialog.FileCreator<T> creator)
show
in interface CreateFileFromTemplateDialog.Builder
public <T extends PsiElement> void show(java.lang.String errorTitle, java.lang.String selectedItem, CreateFileFromTemplateDialog.FileCreator<T> creator, Consumer<? super T> elementConsumer)
show
in interface CreateFileFromTemplateDialog.Builder