public class

ViewKeyboardShortcuts

extends JiraWebActionSupport
java.lang.Object
   ↳ webwork.action.ActionSupport
     ↳ com.atlassian.jira.action.JiraActionSupport
       ↳ com.atlassian.jira.web.action.JiraWebActionSupport
         ↳ com.atlassian.jira.web.action.util.ViewKeyboardShortcuts

Class Overview

Displays a help screen showing all the available keyboard shortcuts and descriptions telling users what a particular shortcut will do.

Summary

[Expand]
Inherited Constants
From class com.atlassian.jira.web.action.JiraWebActionSupport
From interface webwork.action.Action
[Expand]
Inherited Fields
From class com.atlassian.jira.web.action.JiraWebActionSupport
From class com.atlassian.jira.action.JiraActionSupport
From class webwork.action.ActionSupport
Public Constructors
ViewKeyboardShortcuts(KeyboardShortcutManager keyboardShortcutManager, JiraAuthenticationContext authenticationContext)
Public Methods
String doDefault()
String getContextName(KeyboardShortcutManager.Context context)
String[] getFormSubmitKeys()
I18nHelper getI18nHelper()
Collection<TextOption> getKeyboardShortcutList()
Gets the available list of options for the Keyboard shortcut preference
boolean getKeyboardShortcutsEnabled()
Map<KeyboardShortcutManager.ContextList<KeyboardShortcut>> getShortcutsForContext()
boolean isUserLoggedIn()
void setKeyboardShortcutsEnabled(boolean keyboardShortcutsEnabled)
Protected Methods
String doExecute()
[Expand]
Inherited Methods
From class com.atlassian.jira.web.action.JiraWebActionSupport
From class com.atlassian.jira.action.JiraActionSupport
From class webwork.action.ActionSupport
From class java.lang.Object
From interface com.atlassian.jira.util.ErrorCollection
From interface com.atlassian.jira.util.I18nHelper
From interface com.atlassian.jira.web.HttpServletVariables
From interface com.atlassian.jira.web.util.AuthorizationSupport
From interface webwork.action.Action
From interface webwork.action.CommandDriven
From interface webwork.action.IllegalArgumentAware

Public Constructors

public ViewKeyboardShortcuts (KeyboardShortcutManager keyboardShortcutManager, JiraAuthenticationContext authenticationContext)

Public Methods

public String doDefault ()

Throws
Exception

public String getContextName (KeyboardShortcutManager.Context context)

public String[] getFormSubmitKeys ()

public I18nHelper getI18nHelper ()

Returns

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

public boolean getKeyboardShortcutsEnabled ()

public Map<KeyboardShortcutManager.ContextList<KeyboardShortcut>> getShortcutsForContext ()

public boolean isUserLoggedIn ()

public void setKeyboardShortcutsEnabled (boolean keyboardShortcutsEnabled)

Protected Methods

protected String doExecute ()

Throws
Exception