public static class DomCollectionControl.AddAction extends AddDomElementAction
AddDomElementAction.ShowPopupAction
AnAction.TransparentUpdate
ACTIONS_KEY, EMPTY_ARRAY
Constructor and Description |
---|
AddAction() |
Modifier and Type | Method and Description |
---|---|
protected DefaultAddAction |
createAddingAction(AnActionEvent e,
java.lang.String name,
javax.swing.Icon icon,
java.lang.reflect.Type type,
DomCollectionChildDescription description) |
AnAction [] |
getChildren(AnActionEvent e) |
protected javax.swing.JComponent |
getComponent(AnActionEvent e) |
protected DomCollectionChildDescription [] |
getDomCollectionChildDescriptions(AnActionEvent e) |
protected DomCollectionControl |
getDomCollectionControl(AnActionEvent e) |
protected DomElement |
getParentDomElement(AnActionEvent e) |
protected boolean |
isEnabled(AnActionEvent e) |
actionPerformed, getActionText, showAsPopup, showPopup, update
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, useSmallerFontForTextInToolbar
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isDumbAware
protected boolean isEnabled(AnActionEvent e)
isEnabled
in class AddDomElementAction
protected DomCollectionControl getDomCollectionControl(AnActionEvent e)
protected DomCollectionChildDescription [] getDomCollectionChildDescriptions(AnActionEvent e)
getDomCollectionChildDescriptions
in class AddDomElementAction
protected DomElement getParentDomElement(AnActionEvent e)
getParentDomElement
in class AddDomElementAction
protected javax.swing.JComponent getComponent(AnActionEvent e)
getComponent
in class AddDomElementAction
public AnAction [] getChildren(AnActionEvent e)
getChildren
in class AddDomElementAction
protected DefaultAddAction createAddingAction(AnActionEvent e, java.lang.String name, javax.swing.Icon icon, java.lang.reflect.Type type, DomCollectionChildDescription description)
createAddingAction
in class AddDomElementAction