Class QMenuDefaultViewScreenActionsMenu
java.lang.Object
com.kingsrook.qqq.backend.core.model.metadata.menus.QMenu
com.kingsrook.qqq.backend.core.model.metadata.menus.defaults.QMenuDefaultViewScreenActionsMenu
- All Implemented Interfaces:
QMenuItemContainerInterface,QMetaDataObject,Serializable,Cloneable
Default menu definition for the view screen actions slot.
This class provides a standard menu configuration for record view screens that includes common actions like New, Copy, Edit, * Delete, and process lists. The menu is structured with header items, dividers, and footer items for better organization.
This default menu can be customized or replaced by applications as needed using menu adjusters or by providing custom menu definitions.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classSub-list containing the footer menu items (system-wide operations).static classSub-list containing the header menu items (primary CRUD operations). -
Constructor Summary
ConstructorsConstructorDescriptionConstructor that initializes the default view screen actions menu. -
Method Summary
-
Constructor Details
-
QMenuDefaultViewScreenActionsMenu
public QMenuDefaultViewScreenActionsMenu()Constructor that initializes the default view screen actions menu.
-
-
Method Details
-
init
public void init()Initializes the menu with its label, icon, and slot assignment.Sets up the basic menu properties and then initializes the menu items.
-
initItems
public void initItems()Initializes the menu items structure.Creates a menu structure with:
- Header sub-list (New, Copy, Edit, Delete)
- Divider
- This table's process list
- Divider
- Footer sub-list (All tables process list, Developer Mode, Audit)
-