mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-28 01:07:49 +08:00
basic_action_system.md: Fix: <menupath> -> <ui-path>
This commit is contained in:
parent
6a2b4cbef4
commit
1a82a8bd82
@ -52,7 +52,7 @@ Every IntelliJ Platform action should override `AnAction.update()` and must over
|
|||||||
access the [`UpdateSession`](%gh-ic%/platform/editor-ui-api/src/com/intellij/openapi/actionSystem/UpdateSession.java) and
|
access the [`UpdateSession`](%gh-ic%/platform/editor-ui-api/src/com/intellij/openapi/actionSystem/UpdateSession.java) and
|
||||||
then call `UpdateSession.compute()` to run a function on the EDT.
|
then call `UpdateSession.compute()` to run a function on the EDT.
|
||||||
Starting from IntelliJ Platform version 2022.3, the Plugin DevKit will have an inspection in
|
Starting from IntelliJ Platform version 2022.3, the Plugin DevKit will have an inspection in
|
||||||
<menupath>Plugin DevKit | Code | ActionUpdateThread is missing</menupath> to notify plugin authors about a missing implementation of
|
<ui-path>Plugin DevKit | Code | ActionUpdateThread is missing</ui-path> to notify plugin authors about a missing implementation of
|
||||||
`AnAction.getActionUpdateThread()`.
|
`AnAction.getActionUpdateThread()`.
|
||||||
* An action's method `AnAction.actionPerformed()` is called by the IntelliJ Platform if available and selected by the user.
|
* An action's method `AnAction.actionPerformed()` is called by the IntelliJ Platform if available and selected by the user.
|
||||||
This method does the heavy lifting for the action: it contains the code executed when the action gets invoked.
|
This method does the heavy lifting for the action: it contains the code executed when the action gets invoked.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user