@StudioAction(target="io.jmix.ui.component.EntityPicker", description="Opens a one-to-one composition entity using the entity edit screen") @ActionType(value="entity_openComposition") public class EntityOpenCompositionAction extends EntityOpenAction
Should be defined for PickerField
or its subclass in a screen XML descriptor.
The action instance can be parameterized using the nested properties
XML element or programmatically in the
screen controller.
BaseAction.EnabledRule
Action.ActionPerformedEvent, Action.AdjustWhenScreenReadOnly, Action.ExecutableAction, Action.HasPrimaryState, Action.HasSecurityConstraint, Action.HasTarget, Action.MainTabSheetAction, Action.ScreenOpeningAction, Action.SecuredAction, Action.Status
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID |
componentProperties, editable, entityPicker, icons, messages, metadataTools, screenBuilders, screenInitializer
caption, description, enabled, eventHub, icon, id, owners, primary, shortcut, visible
PROP_EDITABLE
PROP_CAPTION, PROP_DESCRIPTION, PROP_ENABLED, PROP_ICON, PROP_SHORTCUT, PROP_VISIBLE
Constructor and Description |
---|
EntityOpenCompositionAction() |
EntityOpenCompositionAction(java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkFieldValue() |
actionPerform, afterPropertiesSet, editableChanged, execute, getOpenMode, getScreenClass, getScreenId, isEditable, setAfterCloseHandler, setAfterCommitHandler, setEditable, setEntityPicker, setIcons, setMessages, setOpenMode, setScreenBuilders, setScreenClass, setScreenConfigurer, setScreenId, setScreenOptionsSupplier, setTransformation, setUiComponentProperties
addActionPerformedListener, addEnabledRule, isApplicable, isEnabledByRule, isEnabledByUiPermissions, isPermitted, isVisibleByUiPermissions, refreshState, removeEnabledRule, setEnabled, setEnabledByUiPermissions, setEnabledInternal, setVisible, setVisibleByUiPermissions, setVisibleInternal, withCaption, withDescription, withHandler, withIcon, withPrimary, withShortcut
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
setPicker
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
public EntityOpenCompositionAction()
public EntityOpenCompositionAction(java.lang.String id)
protected boolean checkFieldValue()
checkFieldValue
in class EntityOpenAction