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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecuteAction(I_CmsDialogContext context) Executes the action.Gets the title to use for the dialog.getId()The action id.Returns the localized action title.protected StringReturns 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_CmsWorkplaceActionExecutes the action.- Parameters:
context- the current dialog context.- See Also:
-
getDialogTitle
Description copied from class:A_CmsWorkplaceActionGets the title to use for the dialog.- Overrides:
getDialogTitlein classA_CmsWorkplaceAction- Returns:
- the title to use for the dialog
- See Also:
-
getId
Description copied from interface:I_CmsWorkplaceActionThe action id.- Returns:
- the action id
- See Also:
-
getTitle
Description copied from interface:I_CmsWorkplaceActionReturns the localized action title.- Specified by:
getTitlein interfaceI_CmsWorkplaceAction- Overrides:
getTitlein classA_CmsWorkplaceAction- Parameters:
locale- the user's workplace locale- Returns:
- the action title
- See Also:
-
getVisibility
Description copied from interface:I_CmsHasMenuItemVisibilityGets 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_CmsHasMenuItemVisibilityGets the visibility for the current dialog context.- Specified by:
getVisibilityin interfaceI_CmsHasMenuItemVisibility- Overrides:
getVisibilityin classA_CmsWorkplaceAction- Parameters:
context- the dialog context- Returns:
- the visibility
- See Also:
-
getTitleKey
Description copied from class:A_CmsWorkplaceActionReturns the workplace message bundle key of the action title.- Specified by:
getTitleKeyin classA_CmsWorkplaceAction- Returns:
- the title message bundle key
- See Also:
-