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 Type
    Method
    Description
    void
    initializeAction(Action action, List<String> actionKeys)
    Called after the unconfigured action is instantiated the first time at design-time.
  • Method Details

    • initializeAction

      void initializeAction(Action action, List<String> actionKeys)
      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 initialized
      actionKeys - the action keys configured for the ActionList property by calling ActionListPropertyDescriptor.setActionKeys(String[])