Interface ShortcutAliasProvider<T>
- Type Parameters:
T
- the type of configuration properties class that provides the shortcut values
- All Known Implementing Classes:
BpmShortcutAliasProvider
,ComponentShortcutAliasProvider
,ViewsShortcutAliasProvider
public interface ShortcutAliasProvider<T>
Provides a mapping between shortcut aliases and their corresponding property values.
Implementations of this interface define how shortcut aliases are resolved to actual shortcut combinations by mapping them to properties of a specific configuration class.
-
Method Summary
Modifier and TypeMethodDescriptionReturns a map of shortcut aliases to property accessor functions.Returns the properties instance that contains the actual shortcut values.
-
Method Details
-
getAliases
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.
- Returns:
- immutable map of aliases to property accessors
-
getPropertyClass
T getPropertyClass()Returns the properties instance that contains the actual shortcut values.- Returns:
- configuration properties object
-