Package org.opencms.ui.dialogs.embedded
Class CmsDataViewAction
java.lang.Object
org.opencms.ui.dialogs.embedded.CmsDataViewAction
- All Implemented Interfaces:
I_CmsWorkplaceAction,I_CmsHasMenuItemVisibility
Action for the data view dialog.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecuteAction(I_CmsDialogContext context) Executes the action.getId()The action id.Returns the localized 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.booleanisActive(I_CmsDialogContext context) Checks whether this action should be active in the given dialog context.
-
Constructor Details
-
CmsDataViewAction
public CmsDataViewAction()
-
-
Method Details
-
executeAction
Description copied from interface:I_CmsWorkplaceActionExecutes the action.- Specified by:
executeActionin interfaceI_CmsWorkplaceAction- Parameters:
context- the current dialog context.- See Also:
-
getId
Description copied from interface:I_CmsWorkplaceActionThe action id.- Specified by:
getIdin interfaceI_CmsWorkplaceAction- Returns:
- the action id
- See Also:
-
getTitle
Description copied from interface:I_CmsWorkplaceActionReturns the localized action title.- Specified by:
getTitlein interfaceI_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.- Specified by:
getVisibilityin interfaceI_CmsHasMenuItemVisibility- 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- Parameters:
context- the dialog context- Returns:
- the visibility
- See Also:
-
isActive
Description copied from interface:I_CmsWorkplaceActionChecks whether this action should be active in the given dialog context.- Specified by:
isActivein interfaceI_CmsWorkplaceAction- Parameters:
context- the dialog context- Returns:
trueif this action should be active in the given dialog context- See Also:
-