Class ViewKeyboardShortcuts

java.lang.Object
webwork.action.ActionSupport
com.atlassian.jira.web.action.JiraWebActionSupport
com.atlassian.jira.web.action.util.ViewKeyboardShortcuts
All Implemented Interfaces:
ErrorCollection, I18nHelper, HttpServletVariables, AuthorizationSupport, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware

public class ViewKeyboardShortcuts extends JiraWebActionSupport
Displays a help screen showing all the available keyboard shortcuts and descriptions telling users what a particular shortcut will do.
Since:
v4.1
See Also:
  • Constructor Details

  • Method Details

    • getShortcutsForContext

      public Map<KeyboardShortcutManager.Context,List<KeyboardShortcut>> getShortcutsForContext()
    • getContextName

      public String getContextName(KeyboardShortcutManager.Context context)
    • getI18nHelper

      public I18nHelper getI18nHelper()
      Overrides:
      getI18nHelper in class JiraWebActionSupport
      Returns:
      the I18nHelper associated with this action
    • getFormSubmitKeys

      public String[] getFormSubmitKeys()
    • getEditorSubmitKeys

      public String[] getEditorSubmitKeys()
    • getKeyboardShortcutsEnabled

      public boolean getKeyboardShortcutsEnabled()
    • setKeyboardShortcutsEnabled

      public void setKeyboardShortcutsEnabled(boolean keyboardShortcutsEnabled)
    • doExecute

      protected String doExecute() throws Exception
      Overrides:
      doExecute in class webwork.action.ActionSupport
      Throws:
      Exception
    • doDefault

      public String doDefault() throws Exception
      Overrides:
      doDefault in class webwork.action.ActionSupport
      Throws:
      Exception
    • getKeyboardShortcutList

      public Collection<TextOption> getKeyboardShortcutList()
      Gets the available list of options for the Keyboard shortcut preference
      Returns:
      the available list of options for the keyboard shortcut Default preference
    • isUserLoggedIn

      public boolean isUserLoggedIn()