Class ShortcutsDelegate<T>

java.lang.Object
io.jmix.ui.sys.ShortcutsDelegate<T>
Type Parameters:
T - type of shortcut descriptor

public abstract class ShortcutsDelegate<T> extends Object
Handles active shortcuts for actions holder (Table or Tree)
  • Constructor Details

    • ShortcutsDelegate

      public ShortcutsDelegate()
  • Method Details

    • isAllowEnterShortcut

      public boolean isAllowEnterShortcut()
    • setAllowEnterShortcut

      public void setAllowEnterShortcut(boolean allowEnterShortcut)
    • addAction

      public void addAction(@Nullable Action oldAction, Action newAction)
    • removeAction

      public void removeAction(@Nullable Action action)
    • attachShortcut

      protected abstract T attachShortcut(String actionId, KeyCombination keyCombination)
    • detachShortcut

      protected abstract void detachShortcut(Action action, T shortcutDescriptor)
    • getActions

      protected abstract Collection<Action> getActions()