Package org.opencms.ui.actions
Class CmsTouchDialogAction
java.lang.Object
org.opencms.ui.actions.A_CmsWorkplaceAction
org.opencms.ui.actions.CmsTouchDialogAction
- All Implemented Interfaces:
I_CmsWorkplaceAction,I_CmsHasMenuItemVisibility
The touch dialog action.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe action id.static final I_CmsHasMenuItemVisibilityThe action visibility. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecuteAction(I_CmsDialogContext context) Executes the action.Returns the workplace message bundle key of the action dialog title.getId()The action id.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.Methods inherited from class org.opencms.ui.actions.A_CmsWorkplaceAction
getDialogTitle, getTitle, getVisibility, hasBlockingLocks, hasBlockingLocks, isActive, openDialog, openDialog
-
Field Details
-
ACTION_ID
The action id.- See Also:
-
VISIBILITY
The action visibility.
-
-
Constructor Details
-
CmsTouchDialogAction
public CmsTouchDialogAction()
-
-
Method Details
-
executeAction
Description copied from interface:I_CmsWorkplaceActionExecutes the action.- Parameters:
context- the current dialog context.- See Also:
-
getDialogTitleKey
Description copied from class:A_CmsWorkplaceActionReturns the workplace message bundle key of the action dialog title.- Overrides:
getDialogTitleKeyin classA_CmsWorkplaceAction- Returns:
- the dialog title message bundle key
- See Also:
-
getId
Description copied from interface:I_CmsWorkplaceActionThe action id.- Returns:
- the action id
- 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:
-
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:
-