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 UiViewPropertiesprotected 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:ShortcutAliasProviderReturns 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:
getAliasesin interfaceShortcutAliasProvider<UiViewProperties>- Returns:
- immutable map of aliases to property accessors
-
getPropertyClass
Description copied from interface:ShortcutAliasProviderReturns the properties instance that contains the actual shortcut values.- Specified by:
getPropertyClassin interfaceShortcutAliasProvider<UiViewProperties>- Returns:
- configuration properties object
-