Class ComponentShortcutAliasProvider
java.lang.Object
io.jmix.flowui.xml.layout.loader.shortcut.ComponentShortcutAliasProvider
- All Implemented Interfaces:
ShortcutAliasProvider<UiComponentProperties>
@Component("flowui_ComponentShortcutAliasesProvider")
public class ComponentShortcutAliasProvider
extends Object
implements ShortcutAliasProvider<UiComponentProperties>
Provides shortcut aliases for UI component-related actions.
Maps common component actions (like grid operations and picker actions) to their
corresponding shortcut combinations from UiComponentProperties
.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Map<String,
Function<UiComponentProperties, String>> protected final UiComponentProperties
-
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
-
COMPONENTS_SHORTCUT_ALIASES
protected static final Map<String,Function<UiComponentProperties, COMPONENTS_SHORTCUT_ALIASESString>> -
uiComponentProperties
-
-
Constructor Details
-
ComponentShortcutAliasProvider
-
-
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<UiComponentProperties>
- 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<UiComponentProperties>
- Returns:
- configuration properties object
-