Package org.opencms.ui.actions
Class A_CmsGalleryDialogAction
java.lang.Object
org.opencms.ui.actions.A_CmsWorkplaceAction
org.opencms.ui.actions.A_CmsGalleryDialogAction
- All Implemented Interfaces:
I_CmsWorkplaceAction,I_CmsHasMenuItemVisibility
- Direct Known Subclasses:
CmsGalleryDialogAction,CmsGalleryOptimizeDialogAction
Class representing an abstract gallery dialog action.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CmsResourcegetGallery(I_CmsDialogContext context) Returns the gallery.protected abstract String[]Returns the gallery types supported by this dialog action.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, getDialogTitleKey, getTitle, getTitleKey, getVisibility, hasBlockingLocks, hasBlockingLocks, isActive, openDialog, openDialogMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opencms.ui.actions.I_CmsWorkplaceAction
executeAction, getId
-
Constructor Details
-
A_CmsGalleryDialogAction
public A_CmsGalleryDialogAction()
-
-
Method Details
-
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:
-
getGallery
Returns the gallery.- Parameters:
context- the dialog context- Returns:
- the gallery
-
getSupportedGalleryTypes
Returns the gallery types supported by this dialog action.- Returns:
- the gallery types
-