Package io.jmix.datatoolsui.action
Class EditorScreenShowEntityInfoAction
java.lang.Object
io.jmix.ui.action.AbstractAction
io.jmix.ui.action.BaseAction
io.jmix.datatoolsui.action.EditorScreenShowEntityInfoAction
- All Implemented Interfaces:
Action
,Action.HasPrimaryState
,Action.MainTabSheetAction
,Action.SecuredAction
@ActionType("editorScreenShowEntityInfo")
public class EditorScreenShowEntityInfoAction
extends BaseAction
implements Action.MainTabSheetAction
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.ui.action.BaseAction
BaseAction.EnabledRule
Nested classes/interfaces inherited from interface io.jmix.ui.action.Action
Action.ActionPerformedEvent, Action.AdjustWhenScreenReadOnly, Action.ExecutableAction, Action.HasPrimaryState, Action.HasSecurityConstraint, Action.HasTarget, Action.MainTabSheetAction, Action.ScreenOpeningAction, Action.SecuredAction, Action.Status
-
Field Summary
Fields inherited from class io.jmix.ui.action.AbstractAction
caption, description, enabled, eventHub, icon, id, owners, primary, shortcut, visible
Fields inherited from interface io.jmix.ui.action.Action
PROP_CAPTION, PROP_DESCRIPTION, PROP_ENABLED, PROP_ICON, PROP_SHORTCUT, PROP_VISIBLE
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoid
actionPerform
(Component component) Invoked by owning component to execute the action.void
Executes thisAction
for the given screen.boolean
isApplicable
(Screen screen) Determines whether this action is applicable for the given screen.boolean
protected void
setAccessManager
(AccessManager accessManager) void
setMessages
(Messages messages) Methods inherited from class io.jmix.ui.action.BaseAction
addActionPerformedListener, addEnabledRule, isApplicable, isEnabledByRule, isEnabledByUiPermissions, isPermitted, refreshState, removeEnabledRule, setEnabled, setEnabledByUiPermissions, setEnabledInternal, setVisible, setVisibleByUiPermissions, setVisibleInternal, withCaption, withDescription, withHandler, withIcon, withPrimary, withShortcut
Methods inherited from class io.jmix.ui.action.AbstractAction
addOwner, addPropertyChangeListener, firePropertyChange, getCaption, getDescription, getEventHub, getIcon, getId, getOwner, getOwners, getShortcutCombination, hasSubscriptions, isEnabled, isPrimary, isVisible, removeOwner, removePropertyChangeListener, setCaption, setDescription, setIcon, setPrimary, setShortcut, setShortcutCombination
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.jmix.ui.action.Action
addOwner, 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:
-
visibleBySpecificUiPermission
protected boolean visibleBySpecificUiPermission
-
-
Constructor Details
-
EditorScreenShowEntityInfoAction
public EditorScreenShowEntityInfoAction() -
EditorScreenShowEntityInfoAction
-
-
Method Details
-
setMessages
-
setAccessManager
-
isVisibleByUiPermissions
public boolean isVisibleByUiPermissions()- Specified by:
isVisibleByUiPermissions
in interfaceAction.SecuredAction
- Overrides:
isVisibleByUiPermissions
in classBaseAction
-
actionPerform
Description copied from interface:Action
Invoked by owning component to execute the action.- Specified by:
actionPerform
in interfaceAction
- Overrides:
actionPerform
in classBaseAction
- Parameters:
component
- invoking component
-
isApplicable
Description copied from interface:Action.MainTabSheetAction
Determines whether this action is applicable for the given screen.- Specified by:
isApplicable
in interfaceAction.MainTabSheetAction
- Parameters:
screen
- a screen for which the applicable state is determined- Returns:
true
if this action is applicable for the given screen,false
otherwise
-
execute
Description copied from interface:Action.MainTabSheetAction
Executes thisAction
for the given screen.- Specified by:
execute
in interfaceAction.MainTabSheetAction
- Parameters:
screen
- a screen for which this action is executed
-