Package org.opencms.ui.contextmenu
Class CmsResourceContextMenuBuilder
java.lang.Object
org.opencms.ui.contextmenu.CmsResourceContextMenuBuilder
- All Implemented Interfaces:
I_CmsContextMenuBuilder
,I_CmsContextMenuItemProvider
Context menu builder for resource items.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a menu item provider.void
buildContextMenu
(I_CmsDialogContext context, CmsContextMenu menu) Fills the given context menu with options appropriate for the selected resources.Gets a list of available context menu items.
-
Constructor Details
-
CmsResourceContextMenuBuilder
public CmsResourceContextMenuBuilder()Constructor.
-
-
Method Details
-
getMenuItems
Description copied from interface:I_CmsContextMenuItemProvider
Gets a list of available context menu items.- Specified by:
getMenuItems
in interfaceI_CmsContextMenuItemProvider
- Returns:
- the available context menu items
- See Also: