java.lang.Object | |
↳ | com.atlassian.jira.plugin.keyboardshortcut.KeyboardShortcut |
Clients of @PublicApi
can expect
that programs compiled against a given version will remain binary compatible with later versions of the
@PublicApi
as per each product's API policy as long as the client does not implement/extend
@PublicApi
interfaces or classes (refer to each product's API policy for the exact
guarantee---usually binary compatibility is guaranteed at least across minor versions).
@PublicApi
interfaces and classes are not designed to be implemented or extended by clients,
we may perform certain types of binary-incompatible changes to these classes and interfaces, but these will not
affect well-behaved clients that do not extend/implement these types (in general, only classes and interfaces
annotated with @PublicSpi
are safe to extend/implement).
Defines a keyboard shortcut. A shortcut consists of the keys required for the shortcut (could be multiples for the same shortcut such as gh or gd), a context (some shortcuts only apply on the view issue page), the operation and a parameter for the operation (generally a jQuery selector, but can be anything really.).
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Given a set of shortcuts (such as ["gh", "gd"]), this method will produce a pretty
internationalized HTML string such as
or
| |||||||||||
Returns whether the user can use the keyboard shortcut.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Given a set of shortcuts (such as ["gh", "gd"]), this method will produce a pretty internationalized HTML string such as
<kbd>g</kbd>
then <kbd>h</kbd>
or
<kbd>g</kbd>
then <kbd>d</kbd>
i18nHelper | the i18nHelper to user for translations. |
---|
Returns whether the user can use the keyboard shortcut.
context | the context to be passed to the condition |
---|