public class ProjectGroupActionGroup extends DefaultActionGroup implements DumbAware
AnAction.TransparentUpdate
EMPTY_GROUP
ACTIONS_KEY, EMPTY_ARRAY
Constructor and Description |
---|
ProjectGroupActionGroup(ProjectGroup group,
java.util.List<AnAction> children) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(AnActionEvent e)
This method can be called in popup menus if
ActionGroup.canBePerformed(DataContext) is true . |
ProjectGroup |
getGroup() |
boolean |
isPopup()
Returns the type of the group.
|
add, add, add, add, addAction, addAction, addAction, addAll, addAll, addAll, addAll, addSeparator, addSeparator, copyFromGroup, createFlatGroup, createPopupGroup, createPopupGroupWithEmptyText, createUserDataAwareGroup, getChildActionsOrStubs, getChildren, getChildren, getChildrenCount, getModificationStamp, remove, remove, remove, removeAll, replaceAction
addPropertyChangeListener, canBePerformed, disableIfNoVisibleChildren, firePropertyChange, hideIfNoVisibleChildren, isDumbAware, isPopup, isPrimary, removePropertyChangeListener, replace, setPopup
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
public ProjectGroupActionGroup(ProjectGroup group, java.util.List<AnAction> children)
public void actionPerformed(AnActionEvent e)
ActionGroup
ActionGroup.canBePerformed(DataContext)
is true
.actionPerformed
in class ActionGroup
e
- Carries information on the invocation placepublic boolean isPopup()
ActionGroup
isPopup
in class ActionGroup
true
if the group is a popup, false
otherwisepublic ProjectGroup getGroup()