Package io.jmix.aichat.component.chat
Class AiChatActionsSupport
java.lang.Object
io.jmix.flowui.kit.component.delegate.AbstractActionsHolderSupport<AiChat<?>>
io.jmix.aichat.component.chat.AiChatActionsSupport
Manages and binds
Action instances for an AiChat. Sets an
AiChatAction's target to the owning chat on attach and clears it on detach.-
Field Summary
Fields inherited from class io.jmix.flowui.kit.component.delegate.AbstractActionsHolderSupport
actions, actionShortcutBinding, component -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidattachAction(Action action) protected voiddetachAction(Action action) Methods inherited from class io.jmix.flowui.kit.component.delegate.AbstractActionsHolderSupport
addAction, addAction, addActionInternal, addShortcutListenerIfNeeded, getAction, getActions, getActionShortcutBinding, getShortcutLifecycleOwner, removeAction, removeActionInternal, removeShortcutListener
-
Constructor Details
-
AiChatActionsSupport
- Parameters:
component- the chat whose actions this support object holds
-
-
Method Details
-
attachAction
- Overrides:
attachActionin classAbstractActionsHolderSupport<AiChat<?>>
-
detachAction
- Overrides:
detachActionin classAbstractActionsHolderSupport<AiChat<?>>
-