public class SearchEverywhereAction extends AnAction implements CustomComponentAction, DumbAware, DataProvider
AnAction.TransparentUpdate| Modifier and Type | Field and Description |
|---|---|
static Key<JBPopup> |
SEARCH_EVERYWHERE_POPUP |
ACTIONS_KEY, EMPTY_ARRAYACTION_KEY, COMPONENT_KEY| Constructor and Description |
|---|
SearchEverywhereAction() |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(AnActionEvent e)
Implement this method to provide your action handler.
|
void |
actionPerformed(AnActionEvent e,
java.awt.event.MouseEvent me) |
javax.swing.JComponent |
createCustomComponent(Presentation presentation,
java.lang.String place) |
java.lang.Object |
getData(java.lang.String dataId)
Returns the object corresponding to the specified data identifier.
|
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, useSmallerFontForTextInToolbarclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcreateCustomComponentisDumbAwarepublic javax.swing.JComponent createCustomComponent(Presentation presentation, java.lang.String place)
createCustomComponent in interface CustomComponentActionCustomComponentAction.COMPONENT_KEY
to retrieve current component from a Presentation instance in AnAction.update(AnActionEvent) method.public java.lang.Object getData(java.lang.String dataId)
DataProviderPlatformDataKeys class.getData in interface DataProviderdataId - the data identifier for which the value is requested.public void actionPerformed(AnActionEvent e)
AnActionactionPerformed in class AnActione - Carries information on the invocation placepublic void actionPerformed(AnActionEvent e, java.awt.event.MouseEvent me)