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 TypeMethodDescriptionvoidexecute()Executes the context menu action.voidonShow()Executed when the context-menu is opened.voidopenPageCopyDialog(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_CmsContextMenuEntryExecutes the context menu action.- See Also:
-
onShow
Description copied from class:A_CmsSitemapMenuEntryExecuted when the context-menu is opened.- Specified by:
onShowin 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
-