Class ViewsShortcutAliasProvider
java.lang.Object
io.jmix.flowui.xml.layout.loader.shortcut.ViewsShortcutAliasProvider
- All Implemented Interfaces:
ShortcutAliasProvider<UiViewProperties>
@Component("flowui_ViewsShortcutAliasProvider")
public class ViewsShortcutAliasProvider
extends Object
implements ShortcutAliasProvider<UiViewProperties>
Provides shortcut aliases for view-related actions.
Maps common view actions (like save and close) to their corresponding shortcut
combinations from UiViewProperties
.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final UiViewProperties
protected final Map<String,
Function<UiViewProperties, String>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a map of shortcut aliases to property accessor functions.Returns the properties instance that contains the actual shortcut values.
-
Field Details
-
VIEWS_SHORTCUT_ALIASES
-
uiViewProperties
-
-
Constructor Details
-
ViewsShortcutAliasProvider
-
-
Method Details
-
getAliases
Description copied from interface:ShortcutAliasProvider
Returns a map of shortcut aliases to property accessor functions.The map keys represent shortcut aliases (e.g., "GRID_CREATE_SHORTCUT"), and the values are functions that extract the corresponding shortcut combination from the properties object.
- Specified by:
getAliases
in interfaceShortcutAliasProvider<UiViewProperties>
- Returns:
- immutable map of aliases to property accessors
-
getPropertyClass
Description copied from interface:ShortcutAliasProvider
Returns the properties instance that contains the actual shortcut values.- Specified by:
getPropertyClass
in interfaceShortcutAliasProvider<UiViewProperties>
- Returns:
- configuration properties object
-