mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-30 18:27:49 +08:00
[md] plugin actions extracted
This commit is contained in:
parent
6e30960e62
commit
2be569fa23
@ -17,7 +17,7 @@
|
||||
* [Plugin Class Loaders](plugin_class_loaders.html)
|
||||
* [Plugin Components](plugin_components.html)
|
||||
* [Plugin Extensions and Extension Points](plugin_extensions_and_extension_points.html)
|
||||
* [Plugin Actions](TODO)
|
||||
* [Plugin Actions](plugin_actions.html)
|
||||
* [Plugin Services](TODO)
|
||||
* [Plugin Configuration File](TODO)
|
||||
* [Plugin Dependencies](TODO)
|
||||
|
14
plugin_actions.md
Normal file
14
plugin_actions.md
Normal file
@ -0,0 +1,14 @@
|
||||
---
|
||||
layout: editable
|
||||
title: Plugin Actions
|
||||
---
|
||||
|
||||
*Intellij IDEA* provides the concept of _actions_.
|
||||
An action is a class, derived from the
|
||||
[AnAction](https://github.com/JetBrains/intellij-community/blob/master/platform/platform-api/src/com/intellij/openapi/actionSystem/AnAction.java)
|
||||
class, whose ```actionPerformed``` method is called when the menu item or toolbar button is selected.
|
||||
The system of actions allows plugins to add their own items to IDEA menus and toolbars.
|
||||
Actions are organized into groups, which, in turn, can contain other groups.
|
||||
A group of actions can form a toolbar or a menu. Subgroups of the group can form submenus of the menu.
|
||||
You can find detailed information on how to create and register your actions in
|
||||
[IntelliJ IDEA Action System](action_system.md).
|
@ -25,7 +25,7 @@ The following subjects are covered:
|
||||
|
||||
* [Plugin Extensions and Extension Points](plugin_extensions_and_extension_points.html)
|
||||
|
||||
* [Plugin Actions](TODO)
|
||||
* [Plugin Actions](plugin_actions.html)
|
||||
|
||||
* [Plugin Services](TODO)
|
||||
|
||||
@ -33,18 +33,6 @@ The following subjects are covered:
|
||||
|
||||
* [Plugin Dependencies](TODO)
|
||||
|
||||
# Plugin Actions
|
||||
|
||||
*Intellij IDEA* provides the concept of _actions_.
|
||||
An action is a class, derived from the
|
||||
[AnAction](https://github.com/JetBrains/intellij-community/blob/master/platform/platform-api/src/com/intellij/openapi/actionSystem/AnAction.java)
|
||||
class, whose ```actionPerformed``` method is called when the menu item or toolbar button is selected.
|
||||
The system of actions allows plugins to add their own items to IDEA menus and toolbars.
|
||||
Actions are organized into groups, which, in turn, can contain other groups.
|
||||
A group of actions can form a toolbar or a menu. Subgroups of the group can form submenus of the menu.
|
||||
You can find detailed information on how to create and register your actions in
|
||||
[IntelliJ IDEA Action System](action_system.md).
|
||||
|
||||
# Plugin Services
|
||||
|
||||
*IntelliJ IDEA* provides the concept of _services_.
|
||||
|
Loading…
x
Reference in New Issue
Block a user