@StudioAction(target="io.jmix.ui.component.ListComponent",
description="Shows the report execution history")
@ActionType(value="executionHistory")
public class ExecutionHistoryAction
extends io.jmix.ui.action.ListAction
Should be defined in the screen that is associated with Report
. Should be defined for a Button
or a list component (Table
, DataGrid
, etc.).
io.jmix.ui.action.BaseAction.EnabledRule
io.jmix.ui.action.Action.ActionPerformedEvent, io.jmix.ui.action.Action.AdjustWhenScreenReadOnly, io.jmix.ui.action.Action.ExecutableAction, io.jmix.ui.action.Action.HasPrimaryState, io.jmix.ui.action.Action.HasSecurityConstraint, io.jmix.ui.action.Action.HasTarget, io.jmix.ui.action.Action.MainTabSheetAction, io.jmix.ui.action.Action.ScreenOpeningAction, io.jmix.ui.action.Action.SecuredAction, io.jmix.ui.action.Action.Status
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID |
protected io.jmix.ui.ScreenBuilders |
screenBuilders |
Constructor and Description |
---|
ExecutionHistoryAction() |
ExecutionHistoryAction(java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerform(io.jmix.ui.component.Component component) |
protected void |
openExecutionBrowser(java.util.Collection<Report> reports,
io.jmix.ui.screen.FrameOwner screen) |
protected void |
openLookup(io.jmix.ui.screen.FrameOwner screen,
io.jmix.core.metamodel.model.MetaClass metaClass) |
void |
setMessages(io.jmix.core.Messages messages) |
void |
setScreenBuilders(io.jmix.ui.ScreenBuilders screenBuilders) |
getTarget, setTarget, withCaption, withDescription, withHandler, withIcon, withPrimary, withShortcut
addActionPerformedListener, addEnabledRule, isApplicable, isEnabledByRule, isEnabledByUiPermissions, isPermitted, isVisibleByUiPermissions, refreshState, removeEnabledRule, setEnabled, setEnabledByUiPermissions, setEnabledInternal, setVisible, setVisibleByUiPermissions, setVisibleInternal
addOwner, addPropertyChangeListener, firePropertyChange, getCaption, getDescription, getEventHub, getIcon, getId, getOwner, getOwners, getShortcutCombination, hasSubscriptions, isEnabled, isPrimary, isVisible, removeOwner, removePropertyChangeListener, setCaption, setDescription, setIcon, setPrimary, setShortcut, setShortcutCombination
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addOwner, addPropertyChangeListener, getCaption, getDescription, getIcon, getId, getOwner, getOwners, getShortcutCombination, isEnabled, isVisible, refreshState, removeOwner, removePropertyChangeListener, setCaption, setDescription, setEnabled, setIcon, setShortcut, setShortcutCombination, setVisible
public static final java.lang.String ID
protected io.jmix.ui.ScreenBuilders screenBuilders
public ExecutionHistoryAction()
public ExecutionHistoryAction(java.lang.String id)
@Autowired public void setMessages(io.jmix.core.Messages messages)
@Autowired public void setScreenBuilders(io.jmix.ui.ScreenBuilders screenBuilders)
public void actionPerform(io.jmix.ui.component.Component component)
actionPerform
in interface io.jmix.ui.action.Action
actionPerform
in class io.jmix.ui.action.BaseAction
protected void openLookup(io.jmix.ui.screen.FrameOwner screen, @Nullable io.jmix.core.metamodel.model.MetaClass metaClass)
protected void openExecutionBrowser(java.util.Collection<Report> reports, io.jmix.ui.screen.FrameOwner screen)