Package com.install4j.api.beaninfo
Interface ActionListInitializer
public interface ActionListInitializer
Interface for the
ActionBeanInfo.ATTRIBUTE_ACTION_LIST_INITIALIZER
value of a bean descriptor.
With an action list initializer, you can modify actions after they are instantiated in an action list.
This is useful if you have default property values that should be different if the action is
instantiated in an action list. This initializer is run after the BeanInitializer
.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
initializeAction
(Action action, List<String> actionKeys) Called after the unconfigured action is instantiated the first time at design-time.
-
Method Details
-
initializeAction
Called after the unconfigured action is instantiated the first time at design-time. For existing action instances that are loaded from a project, this method is not called after instantiation.- Parameters:
action
- the action that should be initializedactionKeys
- the action keys configured for theActionList
property by callingActionListPropertyDescriptor.setActionKeys(String[])
-