public final class MacrosDialog extends DialogWrapper
Modifier and Type | Class and Description |
---|---|
static class |
MacrosDialog.Filters |
DialogWrapper.CancelAction, DialogWrapper.DialogStyle, DialogWrapper.DialogWrapperAction, DialogWrapper.DialogWrapperExitAction, DialogWrapper.DoNotAskOption, DialogWrapper.IdeModalityType, DialogWrapper.OkAction
CANCEL_EXIT_CODE, CLOSE_EXIT_CODE, DEFAULT_ACTION, DIALOG_CONTENT_PANEL_PROPERTY, ERROR_FOREGROUND_COLOR, FOCUSED_ACTION, IS_VISUAL_PADDING_COMPENSATED_ON_COMPONENT_LEVEL_KEY, myCancelAction, myCheckBoxDoNotShowDialog, myDisposable, myHelpAction, myOKAction, myPerformAction, myPreferredFocusedComponent, NEXT_USER_EXIT_CODE, OK_EXIT_CODE
Constructor and Description |
---|
MacrosDialog(java.awt.Component parent,
java.util.function.Predicate<? super Macro> filter,
java.util.Map<java.lang.String,java.lang.String> userMacros) |
MacrosDialog(Project project) |
Modifier and Type | Method and Description |
---|---|
static void |
addTextFieldExtension(ExtendableTextField textField) |
static void |
addTextFieldExtension(ExtendableTextField textField,
java.util.function.Predicate<? super Macro> macroFilter,
java.util.Map<java.lang.String,java.lang.String> userMacros) |
protected javax.swing.JComponent |
createCenterPanel()
Factory method.
|
protected java.lang.String |
getDimensionServiceKey()
Returns key for persisting dialog dimensions.
|
protected java.lang.String |
getHelpId()
Returns the help identifier, or
null if no help is available. |
javax.swing.JComponent |
getPreferredFocusedComponent() |
Macro |
getSelectedMacro()
Deprecated.
Doesn't support user-defined path macros, use
getSelectedMacroName() instead. |
java.lang.String |
getSelectedMacroName() |
protected void |
init() |
static void |
show(javax.swing.text.JTextComponent textComponent) |
static void |
show(javax.swing.text.JTextComponent textComponent,
java.util.function.Predicate<? super Macro> filter,
java.util.Map<java.lang.String,java.lang.String> userMacros) |
addKeyListener, addMouseListener, addMouseListener, canRecordDialogId, centerRelativeToParent, cleanupRootPane, cleanupWindowListeners, clickDefaultButton, close, close, createActions, createButtonsPanel, createCancelAction, createContentPane, createContentPaneBorder, createDefaultActions, createDefaultBorder, createDoNotAskCheckbox, createHelpButton, createJButtonForAction, createJButtonForAction, createLeftSideActions, createNorthPanel, createPeer, createPeer, createPeer, createPeer, createPeer, createPeer, createRootLayout, createSouthAdditionalPanel, createSouthPanel, createTitlePane, dispose, disposeIfNeeded, doCancelAction, doCancelAction, doHelpAction, doOKAction, doValidate, doValidateAll, extractMnemonic, findInstance, findInstanceFromFocus, getButton, getCancelAction, getContentPane, getContentPanel, getDimensionKey, getDisposable, getDoNotShowMessage, getErrorTextAlignment, getExitCode, getHelpAction, getHorizontalStretch, getInitialLocation, getLocation, getOKAction, getOwner, getPeer, getPreferredSize, getRootPane, getSize, getStyle, getTitle, getTypeAheadTimeoutMs, getValidationThreadToUse, getVerticalStretch, getWindow, hasErrors, initValidation, isAutoAdjustable, isCenterStrictedToPreferredSize, isDisposed, isModal, isModalProgress, isMoveHelpButtonLeft, isNorthStrictedToPreferredSize, isOK, isOKActionEnabled, isProgressDialog, isResizable, isShowing, isSouthStrictedToPreferredSize, isToDispatchTypeAhead, isTypeAheadEnabled, isVisible, layoutButtonsPanel, pack, postponeValidation, processDoNotAskOnOk, repaint, setAutoAdjustable, setButtonsAlignment, setButtonsMargin, setCancelButtonIcon, setCancelButtonText, setCrossClosesWindow, setDoNotAskOption, setErrorInfoAll, setErrorText, setErrorText, setHelpTooltip, setHorizontalStretch, setInitialLocationCallback, setLocation, setLocation, setModal, setOKActionEnabled, setOKButtonIcon, setOKButtonMnemonic, setOKButtonText, setOKButtonTooltip, setResizable, setSize, setTitle, setUndecorated, setValidationDelay, setVerticalStretch, shouldAddErrorNearButtons, shouldCloseOnCross, show, showAndGet, showAndGetOk, startTrackingValidation, toBack, toBeShown, toFront, unregisterKeyboardActions, updateErrorInfo, validate
public MacrosDialog(Project project)
public MacrosDialog(java.awt.Component parent, java.util.function.Predicate<? super Macro> filter, java.util.Map<java.lang.String,java.lang.String> userMacros)
public static void addTextFieldExtension(ExtendableTextField textField)
public static void addTextFieldExtension(ExtendableTextField textField, java.util.function.Predicate<? super Macro> macroFilter, java.util.Map<java.lang.String,java.lang.String> userMacros)
public static void show(javax.swing.text.JTextComponent textComponent)
public static void show(javax.swing.text.JTextComponent textComponent, java.util.function.Predicate<? super Macro> filter, java.util.Map<java.lang.String,java.lang.String> userMacros)
protected void init()
init
in class DialogWrapper
protected java.lang.String getHelpId()
DialogWrapper
null
if no help is available.getHelpId
in class DialogWrapper
protected java.lang.String getDimensionServiceKey()
DialogWrapper
null
(no persisting).getDimensionServiceKey
in class DialogWrapper
protected javax.swing.JComponent createCenterPanel()
DialogWrapper
null
value. In this case there will be no options panel.createCenterPanel
in class DialogWrapper
@Deprecated public Macro getSelectedMacro()
getSelectedMacroName()
instead.public java.lang.String getSelectedMacroName()
public javax.swing.JComponent getPreferredFocusedComponent()
getPreferredFocusedComponent
in class DialogWrapper