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
public abstract class A_CmsGalleryDialogAction extends A_CmsWorkplaceAction
Class representing an abstract gallery dialog action.
-
-
Constructor Summary
Constructors Constructor Description A_CmsGalleryDialogAction()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected CmsResource
getGallery(I_CmsDialogContext context)
Returns the gallery.protected abstract java.lang.String[]
getSupportedGalleryTypes()
Returns the gallery types supported by this dialog action.CmsMenuItemVisibilityMode
getVisibility(CmsObject cms, java.util.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, isActive, openDialog, openDialog
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opencms.ui.actions.I_CmsWorkplaceAction
executeAction, getId
-
-
-
-
Constructor Detail
-
A_CmsGalleryDialogAction
public A_CmsGalleryDialogAction()
-
-
Method Detail
-
getVisibility
public CmsMenuItemVisibilityMode getVisibility(CmsObject cms, java.util.List<CmsResource> resources)
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:
I_CmsHasMenuItemVisibility.getVisibility(org.opencms.file.CmsObject, java.util.List)
-
getGallery
protected CmsResource getGallery(I_CmsDialogContext context)
Returns the gallery.- Parameters:
context
- the dialog context- Returns:
- the gallery
-
getSupportedGalleryTypes
protected abstract java.lang.String[] getSupportedGalleryTypes()
Returns the gallery types supported by this dialog action.- Returns:
- the gallery types
-
-