|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.intellij.openapi.actionSystem.AnAction
com.intellij.openapi.actionSystem.ActionGroup
public abstract class ActionGroup
Represents a group of actions.
| Field Summary | |
|---|---|
static java.lang.String |
PROP_POPUP
The actual value is a Boolean. |
| Fields inherited from class com.intellij.openapi.actionSystem.AnAction |
|---|
EMPTY_ARRAY, ourClientProperty |
| Constructor Summary | |
|---|---|
ActionGroup()
Creates a new ActionGroup with shortName set to null and
popup set to false. |
|
ActionGroup(java.lang.String shortName,
boolean popup)
Creates a new ActionGroup with the specified shortName
and popup. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(AnActionEvent e)
This method is final and empty because a group cannot have a handler. |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener l)
|
protected void |
firePropertyChange(java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue)
|
abstract AnAction[] |
getChildren(AnActionEvent e)
Returns the children of the group. |
boolean |
isPopup()
Returns the type of the group. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener l)
|
void |
setPopup(boolean popup)
Sets the type of the group. |
| Methods inherited from class com.intellij.openapi.actionSystem.AnAction |
|---|
copyFrom, createTooltipText, displayTextInToolbar, getShortcutSet, getTemplatePresentation, isDefaultIcon, isEnabledInModalContext, registerCustomShortcutSet, setDefaultIcon, setEnabledInModalContext, setShortcutSet, unregisterCustomShortcutSet, update |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PROP_POPUP
| Constructor Detail |
|---|
public ActionGroup()
ActionGroup with shortName set to null and
popup set to false.
public ActionGroup(java.lang.String shortName,
boolean popup)
ActionGroup with the specified shortName
and popup.
shortName - Text that represents a short name for this action grouppopup - true if this group is a popup, false
otherwise| Method Detail |
|---|
public final void actionPerformed(AnActionEvent e)
actionPerformed in class AnActione - Carries information on the invocation placepublic final boolean isPopup()
true if the group is a popup, false otherwisepublic final void setPopup(boolean popup)
popup - If true the group will be shown as a popup in menuspublic final void addPropertyChangeListener(java.beans.PropertyChangeListener l)
public final void removePropertyChangeListener(java.beans.PropertyChangeListener l)
protected final void firePropertyChange(java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue)
public abstract AnAction[] getChildren(@Nullable
AnActionEvent e)
null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||