public interface Addin
Addininterface provides a mechanism for extensions to carry out programmatic initialization during the startup sequence of the IDE. The
initialize()method of registered Addins is called prior to the display of the main window.
Implementations of Addin are registered by their class name in the <addins> section of the extension manifest. For more information on the extension manifest, see the documentation in jdev\doc\extension.
Care should be taken when implementing the
method to minimize the work carried out and the classes loaded. If
it is possible to defer some initialization until a later point,
it should be deferred.
AddinManagerafter the instance of the
Addinis instantiated. When invoked, The
Addinshould register and menu items, and actions required for use during this classes lifecycle.
Addinauthors should take care to ensure that any extraneous initialization is not preformed on this method, and any startup code that can be delayed until a later time is delayed, as the
Addin's are synchronously initialized during the startup of the IDE, and each
Addinhas the potential to negatively impact the startup time of the product.