public class CmsBlockingLockCheck extends java.lang.Object implements I_CmsContextMenuAction
If so, a dialog showing these resources will be displayed; otherwise the wrapped context menu action will be executed.
Constructor and Description |
---|
CmsBlockingLockCheck(I_CmsContextMenuAction nextAction)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
executeAction(I_CmsDialogContext context)
Executes this action.
|
java.lang.String |
toString() |
public CmsBlockingLockCheck(I_CmsContextMenuAction nextAction)
nextAction
- the action to execute if we don't have blocking locked resourcespublic void executeAction(I_CmsDialogContext context)
I_CmsContextMenuAction
executeAction
in interface I_CmsContextMenuAction
context
- a context object which provides both a CmsObject as well as information about the context in which the menu item was selectedI_CmsContextMenuAction.executeAction(org.opencms.ui.I_CmsDialogContext)
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()