O'Reilly logo

IntelliJ IDEA Essentials by Jarosław Krochmalski

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Developing the plugin functionality

When it comes to plugin development, IntelliJ IDEA introduces the concept of the component. There can be components at the application, module, and project level. Application level (global) components are initialized when the IDE starts. Project level components, on the other hand, are instantiated by the IDE for every project instance opened. Module level components, accordingly, are instantiated for every project's module loaded.

A further concept introduced in the plugins API is action. Here, action represents the toolbar or menu item. It's a class whose actionPerformed method is called when the toolbar button or menu item is selected. Action can be either defined in the configuration file, or instantiated ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required