Class CmsEditMenuEntry
- java.lang.Object
-
- org.opencms.ade.sitemap.client.hoverbar.A_CmsSitemapMenuEntry
-
- org.opencms.ade.sitemap.client.hoverbar.CmsEditMenuEntry
-
- All Implemented Interfaces:
I_CmsContextMenuEntry
public class CmsEditMenuEntry extends A_CmsSitemapMenuEntry
Sitemap context menu edit entry.- Since:
- 8.0.0
-
-
Constructor Summary
Constructors Constructor Description CmsEditMenuEntry(CmsSitemapHoverbar hoverbar)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected A_CmsPropertyEditor
createEntryEditor(I_CmsPropertyEditorHandler handler, java.util.Map<java.lang.String,org.opencms.xml.content.CmsXmlContentProperty> propConfig)
Creates the right sitemap entry editor for the current mode.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 Detail
-
CmsEditMenuEntry
public CmsEditMenuEntry(CmsSitemapHoverbar hoverbar)
Constructor.- Parameters:
hoverbar
- the hoverbar
-
-
Method Detail
-
execute
public void execute()
Description copied from interface:I_CmsContextMenuEntry
Executes the context menu action.- See Also:
I_CmsContextMenuEntry.execute()
-
onShow
public void onShow()
Description copied from class:A_CmsSitemapMenuEntry
Executed when the context-menu is opened.- Specified by:
onShow
in classA_CmsSitemapMenuEntry
- See Also:
A_CmsSitemapMenuEntry.onShow()
-
createEntryEditor
protected A_CmsPropertyEditor createEntryEditor(I_CmsPropertyEditorHandler handler, java.util.Map<java.lang.String,org.opencms.xml.content.CmsXmlContentProperty> propConfig)
Creates the right sitemap entry editor for the current mode.- Parameters:
handler
- the entry editor handlerpropConfig
- the property configuration to use- Returns:
- a sitemap entry editor instance
-
-