idea plug-in development (02) --- concepts introduced

Transfer:  https://blog.csdn.net/java_zhangshuai/article/details/83118695

idea plug-in development (01) --- the most simple helloworld version, does not need to know principle, to begin with I did a simple plug-bomb box:  https://blog.csdn.net/java_zhangshuai/article/details/83118243

IDEA plug-in installation Ali standardized code:   https://blog.csdn.net/liyanhui1001/article/details/83862319

Lombok using plug-ins to streamline your project code:   https://blog.csdn.net/weixin_41888813/article/details/81457682

Ali code checks p3c plug-ins:  https://blog.csdn.net/qq_39560484/article/details/81087010

eclipse plugin install git, and uploads to and downloads from the github github project to import eclipse:   https://blog.csdn.net/qq_35525955/article/details/81229562

IDEA plug-in code generation CodeMaker:  https://blog.csdn.net/lj1314ailj/article/details/83998936

 

 

The idea has been introduced on a plug-in development of the most simple example
, said Benpian for related concepts, the concept is part of the online copy, users of different versions, but generally are the same meaning

1.idea introduce
idea the whole assembly structure is based on PicoContainer, he is an embedded Ioc container, a bit like the Spring container
we did plugin idea, as an extension of the functional components can be added to this container
to use for all plugin.xml assemblies, the Action, the expansion assembly is configured, these components are to be initialized by the container

2.PicoContainer
PicoContainer is a "microkernel" container, and use of the inversion control model Template Method Providing developing component-oriented operating environment, the development of suitable components
PicoContainer Ioc container is lightweight, and provides dependency injection object lifecycle management functions, pure small but beautiful Ioc container. + Ioc is the Spring, provide other functions, such as AOP, is large and the frame, not just Ioc container.

3.Action
Action when the idea inlet plug-in development, it may be a button or a menu item. After the operation control, it will trigger actoin, the respective method.

File 4.Virtual
IDEA unified file system, similar to java's IO, we can call VFS (virtual file system), we VFS various operations, such as create, delete, rename and other operations will be mapped to the traditional file on the system.
the getChildren ()
findFileByRelativePath ()
createChildData ()
createChildDirectory ()
findOrCreateChildData ()
...

5.Document
dociment actually sequence of character content Virtual File, so various operations on Document are based on normal text characters corresponding to the contents of a typical virtual file used to access and modify the contents of the file.
SetText ()
getText ( )
GetLineCount ()
getTextLength ()
...

6.Gui Form
-based java swing designer, the UI page layout, file format is xml format

7.ExtensionPoint
the toolwindow
fileEditorProvider
applicationConfigurable
fileconProvider
--------------------- 
Author: zhangSir134 
Source: CSDN 
Original: https: //blog.csdn.net/java_zhangshuai/article/ details / 83118695 
copyright: This article is a blogger original article, reproduced, please attach Bowen link!

Guess you like

Origin blog.csdn.net/qq_36688928/article/details/91047469