public class MessagesServiceImpl extends java.lang.Object implements MessagesService
Constructor and Description |
---|
MessagesServiceImpl() |
Modifier and Type | Method and Description |
---|---|
int |
showChooseDialog(Project project,
java.awt.Component parentComponent,
java.lang.String message,
java.lang.String title,
java.lang.String[] values,
java.lang.String initialValue,
javax.swing.Icon icon) |
java.lang.String |
showEditableChooseDialog(java.lang.String message,
java.lang.String title,
javax.swing.Icon icon,
java.lang.String[] values,
java.lang.String initialValue,
InputValidator validator) |
java.lang.String |
showInputDialog(Project project,
java.awt.Component parentComponent,
java.lang.String message,
java.lang.String title,
javax.swing.Icon icon,
java.lang.String initialValue,
InputValidator validator,
TextRange selection,
java.lang.String comment) |
Pair<java.lang.String,java.lang.Boolean> |
showInputDialogWithCheckBox(java.lang.String message,
java.lang.String title,
java.lang.String checkboxText,
boolean checked,
boolean checkboxEnabled,
javax.swing.Icon icon,
java.lang.String initialValue,
InputValidator validator) |
int |
showMessageDialog(Project project,
java.awt.Component parentComponent,
java.lang.String message,
java.lang.String title,
java.lang.String [] options,
int defaultOptionIndex,
int focusedOptionIndex,
javax.swing.Icon icon,
DialogWrapper.DoNotAskOption doNotAskOption,
boolean alwaysUseIdeaUI) |
int |
showMoreInfoMessageDialog(Project project,
java.lang.String message,
java.lang.String title,
java.lang.String moreInfo,
java.lang.String[] options,
int defaultOptionIndex,
int focusedOptionIndex,
javax.swing.Icon icon) |
java.lang.String |
showMultilineInputDialog(Project project,
java.lang.String message,
java.lang.String title,
java.lang.String initialValue,
javax.swing.Icon icon,
InputValidator validator) |
char[] |
showPasswordDialog(java.awt.Component parentComponent,
java.lang.String message,
java.lang.String title,
javax.swing.Icon icon,
InputValidator validator) |
java.lang.String |
showPasswordDialog(Project project,
java.lang.String message,
java.lang.String title,
javax.swing.Icon icon,
InputValidator validator) |
void |
showTextAreaDialog(javax.swing.JTextField textField,
java.lang.String title,
java.lang.String dimensionServiceKey,
Function<? super java.lang.String,? extends java.util.List<java.lang.String>> parser,
Function<? super java.util.List<java.lang.String>,java.lang.String> lineJoiner) |
int |
showTwoStepConfirmationDialog(java.lang.String message,
java.lang.String title,
java.lang.String[] options,
java.lang.String checkboxText,
boolean checked,
int defaultOptionIndex,
int focusedOptionIndex,
javax.swing.Icon icon,
PairFunction<? super java.lang.Integer,? super javax.swing.JCheckBox,java.lang.Integer> exitFunc) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInstance
public int showMessageDialog(Project project, java.awt.Component parentComponent, java.lang.String message, java.lang.String title, java.lang.String [] options, int defaultOptionIndex, int focusedOptionIndex, javax.swing.Icon icon, DialogWrapper.DoNotAskOption doNotAskOption, boolean alwaysUseIdeaUI)
showMessageDialog
in interface MessagesService
public int showMoreInfoMessageDialog(Project project, java.lang.String message, java.lang.String title, java.lang.String moreInfo, java.lang.String[] options, int defaultOptionIndex, int focusedOptionIndex, javax.swing.Icon icon)
showMoreInfoMessageDialog
in interface MessagesService
public int showTwoStepConfirmationDialog(java.lang.String message, java.lang.String title, java.lang.String[] options, java.lang.String checkboxText, boolean checked, int defaultOptionIndex, int focusedOptionIndex, javax.swing.Icon icon, PairFunction<? super java.lang.Integer,? super javax.swing.JCheckBox,java.lang.Integer> exitFunc)
showTwoStepConfirmationDialog
in interface MessagesService
public java.lang.String showPasswordDialog(Project project, java.lang.String message, java.lang.String title, javax.swing.Icon icon, InputValidator validator)
showPasswordDialog
in interface MessagesService
public char[] showPasswordDialog(java.awt.Component parentComponent, java.lang.String message, java.lang.String title, javax.swing.Icon icon, InputValidator validator)
showPasswordDialog
in interface MessagesService
public java.lang.String showInputDialog(Project project, java.awt.Component parentComponent, java.lang.String message, java.lang.String title, javax.swing.Icon icon, java.lang.String initialValue, InputValidator validator, TextRange selection, java.lang.String comment)
showInputDialog
in interface MessagesService
public java.lang.String showMultilineInputDialog(Project project, java.lang.String message, java.lang.String title, java.lang.String initialValue, javax.swing.Icon icon, InputValidator validator)
showMultilineInputDialog
in interface MessagesService
public Pair<java.lang.String,java.lang.Boolean> showInputDialogWithCheckBox(java.lang.String message, java.lang.String title, java.lang.String checkboxText, boolean checked, boolean checkboxEnabled, javax.swing.Icon icon, java.lang.String initialValue, InputValidator validator)
showInputDialogWithCheckBox
in interface MessagesService
public java.lang.String showEditableChooseDialog(java.lang.String message, java.lang.String title, javax.swing.Icon icon, java.lang.String[] values, java.lang.String initialValue, InputValidator validator)
showEditableChooseDialog
in interface MessagesService
public int showChooseDialog(Project project, java.awt.Component parentComponent, java.lang.String message, java.lang.String title, java.lang.String[] values, java.lang.String initialValue, javax.swing.Icon icon)
showChooseDialog
in interface MessagesService
public void showTextAreaDialog(javax.swing.JTextField textField, java.lang.String title, java.lang.String dimensionServiceKey, Function<? super java.lang.String,? extends java.util.List<java.lang.String>> parser, Function<? super java.util.List<java.lang.String>,java.lang.String> lineJoiner)
showTextAreaDialog
in interface MessagesService