Package org.opencms.ui.actions
Class CmsUserInfoDialogAction
java.lang.Object
org.opencms.ui.actions.A_CmsWorkplaceAction
org.opencms.ui.actions.CmsUserInfoDialogAction
- All Implemented Interfaces:
I_CmsWorkplaceAction
,I_CmsHasMenuItemVisibility
User info dialog action, used only for sitemap and page editor toolbar.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
executeAction
(I_CmsDialogContext context) Executes the action.Gets the title to use for the dialog.getId()
The action id.Returns the localized action title.protected String
Returns the workplace message bundle key of the action title.getVisibility
(CmsObject cms, List<CmsResource> resources) Gets the visibility for the current resource and CMS context.getVisibility
(I_CmsDialogContext context) Gets the visibility for the current dialog context.Methods inherited from class org.opencms.ui.actions.A_CmsWorkplaceAction
getDialogTitleKey, hasBlockingLocks, hasBlockingLocks, isActive, openDialog, openDialog
-
Field Details
-
ACTION_ID
The action id.- See Also:
-
-
Constructor Details
-
CmsUserInfoDialogAction
public CmsUserInfoDialogAction()
-
-
Method Details
-
executeAction
Description copied from interface:I_CmsWorkplaceAction
Executes the action.- Parameters:
context
- the current dialog context.- See Also:
-
getDialogTitle
Description copied from class:A_CmsWorkplaceAction
Gets the title to use for the dialog.- Overrides:
getDialogTitle
in classA_CmsWorkplaceAction
- Returns:
- the title to use for the dialog
- See Also:
-
getId
Description copied from interface:I_CmsWorkplaceAction
The action id.- Returns:
- the action id
- See Also:
-
getTitle
Description copied from interface:I_CmsWorkplaceAction
Returns the localized action title.- Specified by:
getTitle
in interfaceI_CmsWorkplaceAction
- Overrides:
getTitle
in classA_CmsWorkplaceAction
- Parameters:
locale
- the user's workplace locale- Returns:
- the action title
- See Also:
-
getVisibility
Description copied from interface:I_CmsHasMenuItemVisibility
Gets the visibility for the current resource and CMS context.- Parameters:
cms
- the CMS context to useresources
- the list of resources to check- Returns:
- the visibility
- See Also:
-
getVisibility
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:
-
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:
-