@ActionType(value="edit") public class EditAction extends SecuredListAction
BaseAction.EnabledRuleAction.ActionPerformedEvent, Action.BeforeActionPerformedHandler, Action.HasBeforeActionPerformedHandler, Action.HasOpenType, Action.HasSecurityConstraint, Action.HasTarget, Action.SecuredAction, Action.Status| Modifier and Type | Field and Description |
|---|---|
protected boolean |
captionInitialized |
static java.lang.String |
ID |
protected Messages |
messages |
protected ScreenBuilders |
screenBuilders |
constraintCode, constraintOperationType, securitytargetcaption, description, enabled, eventHub, icon, id, owners, primary, shortcut, visiblePROP_CAPTION, PROP_DESCRIPTION, PROP_ENABLED, PROP_ICON, PROP_SHORTCUT, PROP_VISIBLE| Constructor and Description |
|---|
EditAction() |
EditAction(java.lang.String id) |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerform(Component component)
Invoked by owning component when an action occurs.
|
protected boolean |
isPermitted()
Callback method which is invoked by the action to determine its enabled state.
|
void |
refreshState()
Refresh internal state of the action to initialize enabled, visible, caption, icon, etc.
|
void |
setCaption(java.lang.String caption) |
protected void |
setConfiguration(Configuration configuration) |
protected void |
setIcons(Icons icons) |
protected void |
setMessages(Messages messages) |
getConstraintCode, getConstraintOperationType, isApplicable, setConstraintCode, setConstraintOperationType, setSecuritygetTarget, setTarget, withCaption, withDescription, withHandler, withIcon, withPrimary, withShortcutaddActionPerformedListener, addEnabledRule, isEnabledByRule, isEnabledByUiPermissions, isVisibleByUiPermissions, removeEnabledRule, setEnabled, setEnabledByUiPermissions, setEnabledInternal, setVisible, setVisibleByUiPermissions, setVisibleInternaladdOwner, addPropertyChangeListener, firePropertyChange, getCaption, getDefaultCaption, getDescription, getEventHub, getIcon, getId, getOwner, getOwners, getShortcutCombination, hasSubscriptions, isEnabled, isPrimary, isVisible, removeOwner, removePropertyChangeListener, setDescription, setIcon, setIconFromSet, setPrimary, setShortcut, setShortcutCombinationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddOwner, addPropertyChangeListener, getCaption, getDescription, getIcon, getId, getOwner, getOwners, getShortcutCombination, isEnabled, isVisible, removeOwner, removePropertyChangeListener, setDescription, setEnabled, setIcon, setIconFromSet, setShortcut, setShortcutCombination, setVisiblepublic static final java.lang.String ID
@Inject protected ScreenBuilders screenBuilders
protected boolean captionInitialized
protected Messages messages
@Inject protected void setIcons(Icons icons)
@Inject protected void setMessages(Messages messages)
@Inject protected void setConfiguration(Configuration configuration)
public void setCaption(java.lang.String caption)
setCaption in interface ActionsetCaption in class AbstractActionprotected boolean isPermitted()
BaseActionisPermitted in class SecuredListActionpublic void refreshState()
ActionrefreshState in interface ActionrefreshState in class BaseActionpublic void actionPerform(Component component)
ActionactionPerform in interface ActionactionPerform in class BaseActioncomponent - invoking component