@StudioAction(category="List Actions", description="Adds the selected entity to a record set to be displayed in the folders pane of the main screen") @ActionType(value="addToSet") public class AddToSetAction extends SecuredListAction
BaseAction.EnabledRuleAction.ActionPerformedEvent, Action.AdjustWhenScreenReadOnly, Action.BeforeActionPerformedHandler, Action.DisabledWhenScreenReadOnly, Action.ExecutableAction, Action.HasBeforeActionPerformedHandler, Action.HasOpenType, Action.HasPrimaryState, Action.HasSecurityConstraint, Action.HasTarget, Action.SecuredAction, Action.Status| Modifier and Type | Field and Description |
|---|---|
protected Filter |
filter |
protected FilterHelper |
filterHelper |
static java.lang.String |
ID |
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 |
|---|
AddToSetAction() |
AddToSetAction(java.lang.String id) |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerform(Component component)
Invoked by owning component to execute the action.
|
Filter |
getFilter() |
protected boolean |
isApplicable()
Callback method which is invoked by the action to determine its enabled state.
|
protected boolean |
isPermitted()
Callback method which is invoked by the action to determine its enabled state.
|
protected boolean |
searchFilter() |
void |
setFilter(Filter filter) |
void |
setFilterHelper(FilterHelper filterHelper) |
void |
setIcons(Icons icons) |
void |
setMessages(Messages messages) |
getConstraintCode, getConstraintOperationType, setConstraintCode, setConstraintOperationType, setSecuritygetTarget, setTarget, withCaption, withDescription, withHandler, withIcon, withPrimary, withShortcutaddActionPerformedListener, addEnabledRule, isEnabledByRule, isEnabledByUiPermissions, isVisibleByUiPermissions, refreshState, removeEnabledRule, setEnabled, setEnabledByUiPermissions, setEnabledInternal, setVisible, setVisibleByUiPermissions, setVisibleInternaladdOwner, addPropertyChangeListener, firePropertyChange, getCaption, getDefaultCaption, getDescription, getEventHub, getIcon, getId, getOwner, getOwners, getShortcutCombination, hasSubscriptions, isEnabled, isPrimary, isVisible, removeOwner, removePropertyChangeListener, setCaption, 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, refreshState, removeOwner, removePropertyChangeListener, setCaption, setDescription, setEnabled, setIcon, setIconFromSet, setShortcut, setShortcutCombination, setVisiblepublic static final java.lang.String ID
protected Filter filter
protected FilterHelper filterHelper
public AddToSetAction()
public AddToSetAction(java.lang.String id)
@Inject public void setFilterHelper(FilterHelper filterHelper)
@Inject public void setIcons(Icons icons)
@Inject public void setMessages(Messages messages)
public void actionPerform(Component component)
ActionactionPerform in interface ActionactionPerform in class BaseActioncomponent - invoking componentpublic void setFilter(Filter filter)
public Filter getFilter()
protected boolean isApplicable()
BaseActionisApplicable in class SecuredListActionprotected boolean searchFilter()
protected boolean isPermitted()
BaseActionisPermitted in class SecuredListAction