Class MainTabSheetActionsSupport
java.lang.Object
io.jmix.flowui.kit.component.delegate.AbstractActionsHolderSupport<MainTabSheet>
io.jmix.tabbedmode.component.tabsheet.MainTabSheetActionsSupport
The class provides support for managing actions within an associated
MainTabSheet
component.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Map<Action,
MainTabSheetMenuItemActionWrapper> protected MainTabSheetContextMenu
Fields inherited from class io.jmix.flowui.kit.component.delegate.AbstractActionsHolderSupport
actions, actionShortcutBinding, component
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addActionInternal
(Action action, int index) protected void
addContextMenuItem
(Action action) protected void
attachAction
(Action action) protected MainTabSheetMenuItemActionWrapper
protected void
detachAction
(Action action) protected MainTabSheetContextMenu
protected void
protected boolean
removeActionInternal
(Action action) protected void
removeContextMenuItem
(Action action) protected void
Methods inherited from class io.jmix.flowui.kit.component.delegate.AbstractActionsHolderSupport
addAction, addAction, addShortcutListenerIfNeeded, getAction, getActions, getActionShortcutBinding, getShortcutLifecycleOwner, removeAction, removeShortcutListener
-
Field Details
-
actionBinding
-
contextMenu
-
-
Constructor Details
-
MainTabSheetActionsSupport
-
-
Method Details
-
addActionInternal
- Overrides:
addActionInternal
in classAbstractActionsHolderSupport<MainTabSheet>
-
addContextMenuItem
-
createContextMenuItemComponent
-
removeActionInternal
- Overrides:
removeActionInternal
in classAbstractActionsHolderSupport<MainTabSheet>
-
removeContextMenuItem
-
attachAction
- Overrides:
attachAction
in classAbstractActionsHolderSupport<MainTabSheet>
-
detachAction
- Overrides:
detachAction
in classAbstractActionsHolderSupport<MainTabSheet>
-
getContextMenu
-
initContextMenu
protected void initContextMenu() -
updateContextMenu
protected void updateContextMenu()
-