SearchTextField
.@Deprecated public abstract class SearchFieldAction extends AnAction implements CustomComponentAction
AnAction.TransparentUpdate
ACTIONS_KEY, EMPTY_ARRAY
ACTION_KEY, COMPONENT_KEY
Constructor and Description |
---|
SearchFieldAction(java.lang.String text)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
javax.swing.JComponent |
createCustomComponent(Presentation presentation,
java.lang.String place)
Deprecated.
|
java.lang.String |
getText()
Deprecated.
|
void |
setTextFieldFg(boolean inactive)
Deprecated.
|
actionPerformed, addTextOverride, applyTextOverride, beforeActionPerformedUpdate, copyFrom, copyShortcutFrom, displayTextInToolbar, getEventProject, getShortcutSet, getTemplatePresentation, getTemplateText, isDefaultIcon, isEnabledInModalContext, isInInjectedContext, isTransparentUpdate, registerCustomShortcutSet, registerCustomShortcutSet, registerCustomShortcutSet, registerCustomShortcutSet, setDefaultIcon, setEnabledInModalContext, setInjectedContext, setShortcutSet, startInTransaction, toString, unregisterCustomShortcutSet, update, useSmallerFontForTextInToolbar
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
createCustomComponent
isDumbAware
public java.lang.String getText()
public javax.swing.JComponent createCustomComponent(Presentation presentation, java.lang.String place)
createCustomComponent
in interface CustomComponentAction
CustomComponentAction.COMPONENT_KEY
to retrieve current component from a Presentation instance in AnAction.update(AnActionEvent)
method.public void setTextFieldFg(boolean inactive)