Package com.vladsch.plugin.util.ui
Class TextFieldAction
- java.lang.Object
-
- com.intellij.openapi.actionSystem.AnAction
-
- com.vladsch.plugin.util.ui.TextFieldAction
-
- All Implemented Interfaces:
com.intellij.openapi.actionSystem.ex.CustomComponentAction,com.intellij.openapi.project.PossiblyDumbAware,CustomComponentAction
public abstract class TextFieldAction extends com.intellij.openapi.actionSystem.AnAction implements CustomComponentAction
-
-
Field Summary
Fields Modifier and Type Field Description static com.intellij.openapi.util.Key<java.lang.Object>TEXT_FIELD_BACKGROUND_KEYstatic com.intellij.openapi.util.Key<java.lang.String>TEXT_FIELD_ORIGINAL_KEY-
Fields inherited from interface com.intellij.openapi.actionSystem.ex.CustomComponentAction
ACTION_KEY, COMPONENT_KEY
-
Fields inherited from interface com.vladsch.plugin.util.ui.CustomComponentAction
CUSTOM_COMPONENT_PROPERTY_KEY
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTextFieldAction()protectedTextFieldAction(java.lang.String text)protectedTextFieldAction(java.lang.String text, java.lang.String description, javax.swing.Icon icon)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull javax.swing.JComponentcreateCustomComponent(@NotNull com.intellij.openapi.actionSystem.Presentation presentation, @NotNull java.lang.String place)protected voiddoAction(java.awt.event.FocusEvent e)voidupdate(@NotNull com.intellij.openapi.actionSystem.AnActionEvent e)protected voidupdateOnFocusGained(java.lang.String text, com.intellij.openapi.actionSystem.Presentation presentation)protected voidupdateOnFocusLost(java.lang.String text, com.intellij.openapi.actionSystem.Presentation presentation)protected voidupdateOnTextChange(java.lang.String text, com.intellij.openapi.actionSystem.Presentation presentation)-
Methods inherited from class com.intellij.openapi.actionSystem.AnAction
actionPerformed, addSynonym, addTextOverride, addTextOverride, applyTextOverride, applyTextOverride, beforeActionPerformedUpdate, copyActionTextOverride, copyActionTextOverrides, copyFrom, copyShortcutFrom, displayTextInToolbar, getEventProject, getShortcutSet, getSynonyms, getTemplatePresentation, getTemplateText, isDefaultIcon, isEnabledInModalContext, isInInjectedContext, isTransparentUpdate, registerCustomShortcutSet, registerCustomShortcutSet, registerCustomShortcutSet, registerCustomShortcutSet, setDefaultIcon, setEnabledInModalContext, setInjectedContext, setShortcutSet, startInTransaction, toString, unregisterCustomShortcutSet, useSmallerFontForTextInToolbar
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
updateOnFocusLost
protected void updateOnFocusLost(java.lang.String text, com.intellij.openapi.actionSystem.Presentation presentation)
-
updateOnFocusGained
protected void updateOnFocusGained(java.lang.String text, com.intellij.openapi.actionSystem.Presentation presentation)
-
updateOnTextChange
protected void updateOnTextChange(java.lang.String text, com.intellij.openapi.actionSystem.Presentation presentation)
-
createCustomComponent
@NotNull public @NotNull javax.swing.JComponent createCustomComponent(@NotNull @NotNull com.intellij.openapi.actionSystem.Presentation presentation, @NotNull @NotNull java.lang.String place)- Specified by:
createCustomComponentin interfacecom.intellij.openapi.actionSystem.ex.CustomComponentAction
-
doAction
protected void doAction(java.awt.event.FocusEvent e)
-
update
public void update(@NotNull @NotNull com.intellij.openapi.actionSystem.AnActionEvent e)- Overrides:
updatein classcom.intellij.openapi.actionSystem.AnAction
-
-