Interface ExpressionActionCreator

All Known Implementing Classes:
NoExpressionActionCreator, TagBrowserActionCreator

public interface ExpressionActionCreator
Provides actions for expression-related UI components. Implementations create actions that can be installed in expression editors or added as buttons to text fields etc.
  • Method Details

    • createAction

      Action createAction(JComponent owner, TextlikeComponent component)
      Creates an action that will appear as a trailing IconButton in ExpressionTextField components.
      Parameters:
      owner - the component used to position popups triggered by the trailing IconButton
      component - the ExpressionTextField component where the trailing IconButton will appear
      Returns:
      an action that will appear as a trailing IconButton in the ExpressionTextField
    • createAction

      Action createAction(ExpressionEditor editor)
      Creates an action for the ExpressionEditor's toolbar.
      Parameters:
      editor - the ExpressionEditor that will use this action.
      Returns:
      an action to be added to the ExpressionEditor's toolbar