Package io.jmix.ui.action.filter
Class FilterCopyAction
java.lang.Object
io.jmix.ui.action.AbstractAction
io.jmix.ui.action.BaseAction
io.jmix.ui.action.filter.FilterAction
io.jmix.ui.action.filter.FilterCopyAction
- All Implemented Interfaces:
- Action,- Action.ExecutableAction,- Action.HasPrimaryState,- Action.SecuredAction
@StudioAction(target="io.jmix.ui.component.Filter",
              description="Copies all conditions from design-time configuration to run-time configuration")
@ActionType("filter_copy")
public class FilterCopyAction
extends FilterAction
- 
Nested Class SummaryNested classes/interfaces inherited from class io.jmix.ui.action.BaseActionBaseAction.EnabledRuleNested classes/interfaces inherited from interface io.jmix.ui.action.ActionAction.ActionPerformedEvent, Action.AdjustWhenScreenReadOnly, Action.ExecutableAction, Action.HasPrimaryState, Action.HasSecurityConstraint, Action.HasTarget, Action.MainTabSheetAction, Action.ScreenOpeningAction, Action.SecuredAction, Action.Status
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected FilterComponentsprotected FilterSupportstatic final StringFields inherited from class io.jmix.ui.action.filter.FilterActionfilterFields inherited from class io.jmix.ui.action.AbstractActioncaption, description, enabled, eventHub, icon, id, owners, primary, shortcut, visibleFields inherited from interface io.jmix.ui.action.ActionPROP_CAPTION, PROP_DESCRIPTION, PROP_ENABLED, PROP_ICON, PROP_SHORTCUT, PROP_VISIBLE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidcopyConfiguration(Filter.Configuration sourceConfiguration, Filter.Configuration destConfiguration) voidexecute()Executes theActionprotected booleanCallback method which is invoked by the action to determine its enabled state.voidsetFilterComponents(FilterComponents filterComponents) voidsetFilterSupport(FilterSupport filterSupport) protected voidprotected voidsetMessages(Messages messages) Methods inherited from class io.jmix.ui.action.filter.FilterActionactionPerform, getFilter, setFilterMethods inherited from class io.jmix.ui.action.BaseActionaddActionPerformedListener, addEnabledRule, isEnabledByRule, isEnabledByUiPermissions, isPermitted, isVisibleByUiPermissions, refreshState, removeEnabledRule, setEnabled, setEnabledByUiPermissions, setEnabledInternal, setVisible, setVisibleByUiPermissions, setVisibleInternal, withCaption, withDescription, withHandler, withIcon, withPrimary, withShortcutMethods inherited from class io.jmix.ui.action.AbstractActionaddOwner, addPropertyChangeListener, firePropertyChange, getCaption, getDescription, getEventHub, getIcon, getId, getOwner, getOwners, getShortcutCombination, hasSubscriptions, isEnabled, isPrimary, isVisible, removeOwner, removePropertyChangeListener, setCaption, setDescription, setIcon, setPrimary, setShortcut, setShortcutCombinationMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.jmix.ui.action.ActionaddOwner, addPropertyChangeListener, getCaption, getDescription, getIcon, getId, getOwner, getOwners, getShortcutCombination, isEnabled, isVisible, refreshState, removeOwner, removePropertyChangeListener, setCaption, setDescription, setEnabled, setIcon, setShortcut, setShortcutCombination, setVisible
- 
Field Details- 
ID- See Also:
 
- 
filterComponents
- 
filterSupport
 
- 
- 
Constructor Details- 
FilterCopyActionpublic FilterCopyAction()
- 
FilterCopyAction
 
- 
- 
Method Details- 
setMessages
- 
setIcons
- 
setFilterComponents
- 
setFilterSupport
- 
isApplicableprotected boolean isApplicable()Description copied from class:BaseActionCallback method which is invoked by the action to determine its enabled state.- Overrides:
- isApplicablein class- FilterAction
- Returns:
- true if the action is enabled for the current context, e.g. there is a selected row in a table
 
- 
executepublic void execute()Description copied from interface:Action.ExecutableActionExecutes theAction
- 
copyConfigurationpublic void copyConfiguration(Filter.Configuration sourceConfiguration, Filter.Configuration destConfiguration) 
 
-