Package org.opencms.ui.actions
Class CmsEditContentAction
- java.lang.Object
-
- org.opencms.ui.actions.A_CmsWorkplaceAction
-
- org.opencms.ui.actions.A_CmsEditFileAction
-
- org.opencms.ui.actions.CmsEditContentAction
-
- All Implemented Interfaces:
I_CmsADEAction
,I_CmsWorkplaceAction
,I_CmsHasMenuItemVisibility
public class CmsEditContentAction extends A_CmsEditFileAction
Action to logout.Used within the ADE context only.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ACTION_ID
The action id.
-
Constructor Summary
Constructors Constructor Description CmsEditContentAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
getFileParam()
Returns the file parameter.java.lang.String
getId()
The action id.protected java.lang.String
getTitleKey()
Returns the workplace message bundle key of the action title.CmsMenuItemVisibilityMode
getVisibility(I_CmsDialogContext context)
Gets the visibility for the current dialog context.-
Methods inherited from class org.opencms.ui.actions.A_CmsEditFileAction
executeAction, existsFile, getCommandClassName, getJspPath, getParams, getVisibility, isAdeSupported
-
Methods inherited from class org.opencms.ui.actions.A_CmsWorkplaceAction
getDialogTitle, getDialogTitleKey, getTitle, hasBlockingLocks, isActive, openDialog, openDialog
-
-
-
-
Field Detail
-
ACTION_ID
public static final java.lang.String ACTION_ID
The action id.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CmsEditContentAction
public CmsEditContentAction()
-
-
Method Detail
-
getId
public java.lang.String getId()
Description copied from interface:I_CmsWorkplaceAction
The action id.- Returns:
- the action id
- See Also:
I_CmsWorkplaceAction.getId()
-
getVisibility
public CmsMenuItemVisibilityMode getVisibility(I_CmsDialogContext context)
Description copied from interface:I_CmsHasMenuItemVisibility
Gets the visibility for the current dialog context.- Specified by:
getVisibility
in interfaceI_CmsHasMenuItemVisibility
- Overrides:
getVisibility
in classA_CmsWorkplaceAction
- Parameters:
context
- the dialog context- Returns:
- the visibility
- See Also:
A_CmsWorkplaceAction.getVisibility(org.opencms.ui.I_CmsDialogContext)
-
getFileParam
protected java.lang.String getFileParam()
Description copied from class:A_CmsEditFileAction
Returns the file parameter.- Specified by:
getFileParam
in classA_CmsEditFileAction
- Returns:
- parameter of the file to edit
- See Also:
A_CmsEditFileAction.getFileParam()
-
getTitleKey
protected java.lang.String getTitleKey()
Description copied from class:A_CmsWorkplaceAction
Returns the workplace message bundle key of the action title.- Specified by:
getTitleKey
in classA_CmsWorkplaceAction
- Returns:
- the title message bundle key
- See Also:
A_CmsWorkplaceAction.getTitleKey()
-
-