public abstract class WelcomePopupAction extends AnAction implements DumbAware
AnAction.TransparentUpdate
ACTIONS_KEY, EMPTY_ARRAY
Constructor and Description |
---|
WelcomePopupAction() |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(AnActionEvent e)
Implement this method to provide your action handler.
|
protected abstract void |
fillActions(DefaultActionGroup group) |
protected abstract java.lang.String |
getCaption() |
protected abstract java.lang.String |
getTextForEmpty() |
protected abstract boolean |
isSilentlyChooseSingleOption()
When there is only one option to choose from, this method is called to determine whether
the popup should still be shown or that the option should be chosen silently.
|
protected void |
showPopup(DataContext context,
ListPopup popup,
javax.swing.JComponent contextComponent) |
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
isDumbAware
protected abstract void fillActions(DefaultActionGroup group)
protected abstract java.lang.String getTextForEmpty()
protected abstract java.lang.String getCaption()
protected abstract boolean isSilentlyChooseSingleOption()
public void actionPerformed(AnActionEvent e)
AnAction
actionPerformed
in class AnAction
e
- Carries information on the invocation placeprotected void showPopup(DataContext context, ListPopup popup, javax.swing.JComponent contextComponent)