Class CmsNewChoiceMenuEntry
java.lang.Object
org.opencms.ade.sitemap.client.hoverbar.A_CmsSitemapMenuEntry
org.opencms.ade.sitemap.client.hoverbar.CmsNewChoiceMenuEntry
- All Implemented Interfaces:
I_CmsContextMenuEntry
Sitemap context menu new entry.
- Since:
- 8.0.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected List<org.opencms.gwt.shared.CmsModelResourceInfo>
createModelInfos
(List<org.opencms.ade.sitemap.shared.CmsNewResourceInfo> resourceInfos) Helper method to create model resource info beans from new resource info beans.void
execute()
Executes the context menu action.void
onShow()
Executed when the context-menu is opened.Methods inherited from class org.opencms.ade.sitemap.client.hoverbar.A_CmsSitemapMenuEntry
deattachHoverbar, generateMenuItem, getHoverbar, getIconClass, getJspPath, getLabel, getName, getReason, getSubMenu, hasSubMenu, isActive, isSeparator, isVisible, setActive, setDisabledReason, setLabel, setVisible
-
Constructor Details
-
CmsNewChoiceMenuEntry
Constructor.- Parameters:
hoverbar
- the hoverbar
-
-
Method Details
-
execute
Description copied from interface:I_CmsContextMenuEntry
Executes the context menu action.- See Also:
-
onShow
Description copied from class:A_CmsSitemapMenuEntry
Executed when the context-menu is opened.- Specified by:
onShow
in classA_CmsSitemapMenuEntry
- See Also:
-
createModelInfos
protected List<org.opencms.gwt.shared.CmsModelResourceInfo> createModelInfos(List<org.opencms.ade.sitemap.shared.CmsNewResourceInfo> resourceInfos) Helper method to create model resource info beans from new resource info beans.- Parameters:
resourceInfos
- the resource info beans- Returns:
- the list of model resource info beans
-