Package org.opencms.ui.actions
Class CmsGalleryDialogAction
- java.lang.Object
-
- org.opencms.ui.actions.A_CmsWorkplaceAction
-
- org.opencms.ui.actions.A_CmsGalleryDialogAction
-
- org.opencms.ui.actions.CmsGalleryDialogAction
-
- All Implemented Interfaces:
I_CmsWorkplaceAction
,I_CmsHasMenuItemVisibility
public class CmsGalleryDialogAction extends A_CmsGalleryDialogAction
The gallery dialog action.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ACTION_ID
The action id.static I_CmsHasMenuItemVisibility
VISIBILITY
The action visibility.
-
Constructor Summary
Constructors Constructor Description CmsGalleryDialogAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
executeAction(I_CmsDialogContext context)
Executes the action.java.lang.String
getId()
The action id.protected java.lang.String[]
getSupportedGalleryTypes()
Returns the gallery types supported by this dialog action.protected java.lang.String
getTitleKey()
Returns the workplace message bundle key of the action title.-
Methods inherited from class org.opencms.ui.actions.A_CmsGalleryDialogAction
getGallery, getVisibility
-
Methods inherited from class org.opencms.ui.actions.A_CmsWorkplaceAction
getDialogTitle, getDialogTitleKey, getTitle, getVisibility, hasBlockingLocks, isActive, openDialog, openDialog
-
-
-
-
Field Detail
-
ACTION_ID
public static final java.lang.String ACTION_ID
The action id.- See Also:
- Constant Field Values
-
VISIBILITY
public static final I_CmsHasMenuItemVisibility VISIBILITY
The action visibility.
-
-
Constructor Detail
-
CmsGalleryDialogAction
public CmsGalleryDialogAction()
-
-
Method Detail
-
executeAction
public void executeAction(I_CmsDialogContext context)
Description copied from interface:I_CmsWorkplaceAction
Executes the action.- Parameters:
context
- the current dialog context.- See Also:
I_CmsWorkplaceAction.executeAction(org.opencms.ui.I_CmsDialogContext)
-
getId
public java.lang.String getId()
Description copied from interface:I_CmsWorkplaceAction
The action id.- Returns:
- the action id
- See Also:
I_CmsWorkplaceAction.getId()
-
getSupportedGalleryTypes
protected java.lang.String[] getSupportedGalleryTypes()
Description copied from class:A_CmsGalleryDialogAction
Returns the gallery types supported by this dialog action.- Specified by:
getSupportedGalleryTypes
in classA_CmsGalleryDialogAction
- Returns:
- the gallery types
- See Also:
A_CmsGalleryDialogAction.getSupportedGalleryTypes()
-
getTitleKey
protected java.lang.String getTitleKey()
Description copied from class:A_CmsWorkplaceAction
Returns the workplace message bundle key of the action title.- Specified by:
getTitleKey
in classA_CmsWorkplaceAction
- Returns:
- the title message bundle key
- See Also:
A_CmsWorkplaceAction.getTitleKey()
-
-