Class CmsDialogContextMenuHandler
- java.lang.Object
-
- org.opencms.gwt.client.ui.contextmenu.CmsContextMenuHandler
-
- org.opencms.gwt.client.ui.contextmenu.CmsDialogContextMenuHandler
-
- All Implemented Interfaces:
I_CmsActionHandler
,I_CmsContextMenuHandler
public class CmsDialogContextMenuHandler extends CmsContextMenuHandler
Context menu handler to be used within overlay dialogs.
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.util.Set<java.lang.String>
m_filteredActions
Set of context menu actions which we do not want to appear in the context menu for the relation source items.
-
Constructor Summary
Constructors Constructor Description CmsDialogContextMenuHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
refreshResource(org.opencms.util.CmsUUID structureId)
Reloads the resource edited.protected I_CmsContextMenuEntry
transformSingleEntry(org.opencms.gwt.shared.CmsContextMenuEntryBean entryBean, org.opencms.util.CmsUUID structureId)
Creates a single context menu entry from a context menu entry bean.-
Methods inherited from class org.opencms.gwt.client.ui.contextmenu.CmsContextMenuHandler
ensureLockOnResource, getContextMenuCommands, getContextType, getEditorHandler, leavePage, loadContextMenu, onSiteOrProjectChange, setEditorHandler, transformEntries, unlockResource
-
-
-
-
Field Detail
-
m_filteredActions
protected static java.util.Set<java.lang.String> m_filteredActions
Set of context menu actions which we do not want to appear in the context menu for the relation source items.
-
-
Constructor Detail
-
CmsDialogContextMenuHandler
public CmsDialogContextMenuHandler()
-
-
Method Detail
-
refreshResource
public void refreshResource(org.opencms.util.CmsUUID structureId)
Description copied from interface:I_CmsActionHandler
Reloads the resource edited.- Specified by:
refreshResource
in interfaceI_CmsActionHandler
- Overrides:
refreshResource
in classCmsContextMenuHandler
- Parameters:
structureId
- the structure id of the resource to lock- See Also:
CmsContextMenuHandler.refreshResource(org.opencms.util.CmsUUID)
-
transformSingleEntry
protected I_CmsContextMenuEntry transformSingleEntry(org.opencms.gwt.shared.CmsContextMenuEntryBean entryBean, org.opencms.util.CmsUUID structureId)
Description copied from class:CmsContextMenuHandler
Creates a single context menu entry from a context menu entry bean.- Overrides:
transformSingleEntry
in classCmsContextMenuHandler
- Parameters:
entryBean
- the menu entry beanstructureId
- the structure id- Returns:
- the context menu for the given entry
- See Also:
CmsContextMenuHandler.transformSingleEntry(org.opencms.gwt.shared.CmsContextMenuEntryBean, org.opencms.util.CmsUUID)
-
-