Class CmsCopyPageMenuEntry
java.lang.Object
org.opencms.ade.sitemap.client.hoverbar.A_CmsSitemapMenuEntry
org.opencms.ade.sitemap.client.hoverbar.CmsCopyPageMenuEntry
- All Implemented Interfaces:
I_CmsContextMenuEntry
Menu entry for the "copy page" command.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute()
Executes the context menu action.void
onShow()
Executed when the context-menu is opened.void
openPageCopyDialog
(String id, com.google.gwt.core.client.JavaScriptObject callback) Opens the page copy dialog for the given structure id.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
-
CmsCopyPageMenuEntry
Creates a new instance.- Parameters:
hoverbar
- the hoverbar for the current item
-
-
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:
-
openPageCopyDialog
Opens the page copy dialog for the given structure id.- Parameters:
id
- the structure id of the selected sitemap entrycallback
- the callback to call when the dialog has finished
-