public interface Addin
Addin
interface 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 initialize()
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.
Modifier and Type | Method and Description |
---|---|
void |
initialize()
Invoked by the
AddinManager after the instance of the
Addin is instantiated. |
void initialize()
AddinManager
after the instance of the
Addin
is instantiated. When invoked, The Addin
should register and menu items, and actions required for use during this
classes lifecycle. Addin
authors 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 Addin
has the potential to
negatively impact the startup time of the product.AddinManager