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.EnabledRuleNested 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
FieldsFields inherited from class io.jmix.ui.action.AbstractAction
caption, description, enabled, eventHub, icon, id, owners, primary, shortcut, visibleFields inherited from interface io.jmix.ui.action.Action
PROP_CAPTION, PROP_DESCRIPTION, PROP_ENABLED, PROP_ICON, PROP_SHORTCUT, PROP_VISIBLE -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoidactionPerform(Component component) Invoked by owning component to execute the action.voidExecutes thisActionfor the given screen.booleanisApplicable(Screen screen) Determines whether this action is applicable for the given screen.booleanprotected voidsetAccessManager(AccessManager accessManager) voidsetMessages(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, withShortcutMethods 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, setShortcutCombinationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
isVisibleByUiPermissionsin interfaceAction.SecuredAction- Overrides:
isVisibleByUiPermissionsin classBaseAction
-
actionPerform
Description copied from interface:ActionInvoked by owning component to execute the action.- Specified by:
actionPerformin interfaceAction- Overrides:
actionPerformin classBaseAction- Parameters:
component- invoking component
-
isApplicable
Description copied from interface:Action.MainTabSheetActionDetermines whether this action is applicable for the given screen.- Specified by:
isApplicablein interfaceAction.MainTabSheetAction- Parameters:
screen- a screen for which the applicable state is determined- Returns:
trueif this action is applicable for the given screen,falseotherwise
-
execute
Description copied from interface:Action.MainTabSheetActionExecutes thisActionfor the given screen.- Specified by:
executein interfaceAction.MainTabSheetAction- Parameters:
screen- a screen for which this action is executed
-