[md] plugin actions extracted

This commit is contained in:
Anna Bulenkova 2015-04-13 13:32:16 +02:00
parent 6e30960e62
commit 2be569fa23
3 changed files with 16 additions and 14 deletions

View File

@ -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
View 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).

View File

@ -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_.