Package org.opencms.ui.actions
Class A_CmsToolbarAction
java.lang.Object
org.opencms.ui.actions.A_CmsWorkplaceAction
org.opencms.ui.actions.A_CmsToolbarAction
- All Implemented Interfaces:
I_CmsWorkplaceAction
,I_CmsHasMenuItemVisibility
- Direct Known Subclasses:
CmsAboutDialogAction
,CmsPreferencesDialogAction
,CmsProjectDialogAction
,CmsPublishQueueDialogAction
,CmsSiteDialogAction
Workplace action only visible in the toolbar context menus, not within the file table.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetVisibility
(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.Methods inherited from class org.opencms.ui.actions.A_CmsWorkplaceAction
getDialogTitle, getDialogTitleKey, getTitle, getTitleKey, hasBlockingLocks, 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 Details
-
A_CmsToolbarAction
public A_CmsToolbarAction()
-
-
Method Details
-
getVisibility
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:
-
getVisibility
Description copied from interface:I_CmsHasMenuItemVisibility
Gets the visibility for the current dialog context.- Specified by:
getVisibility
in interfaceI_CmsHasMenuItemVisibility
- Overrides:
getVisibility
in classA_CmsWorkplaceAction
- Parameters:
context
- the dialog context- Returns:
- the visibility
- See Also:
-