Constructor and Description |
---|
JProjectTechnologyNotifier() |
Modifier and Type | Method and Description |
---|---|
void |
initialize()
Invoked by the
AddinManager after the instance of the Addin is instantiated. |
static void |
registerTechnologyListener(java.lang.String technologyKey, JProjectTechnologyListener listener)
Registers a technology listener for the specified technology.
|
static void |
unregisterTechnologyListener(java.lang.String technologyKey, JProjectTechnologyListener listener)
Unregisters a technology listener for the specified technology.
|
public void initialize()
Addin
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.initialize
in interface Addin
AddinManager
public static void registerTechnologyListener(java.lang.String technologyKey, JProjectTechnologyListener listener)
technologyKey
- The key for a registered technology.listener
- The listener to register.public static void unregisterTechnologyListener(java.lang.String technologyKey, JProjectTechnologyListener listener)
technologyKey
- The key for a registered technology.listener
- The listener to register.java.lang.IllegalArgumentException
- if no such listener has been registered.