Package org.opencms.ui.contextmenu
Interface I_CmsHasMenuItemVisibility
- All Known Subinterfaces:
I_CmsContextMenuItem
,I_CmsDefaultAction
,I_CmsWorkplaceAction
- All Known Implementing Classes:
A_CmsEditFileAction
,A_CmsGalleryDialogAction
,A_CmsJSPAction
,A_CmsSimpleVisibilityCheck
,A_CmsToolbarAction
,A_CmsWorkplaceAction
,CmsAboutDialogAction
,CmsAvailabilityDialogAction
,CmsCategoriesDialogAction
,CmsChangeTypeDialogAction
,CmsContextMenuActionItem
,CmsCopyDialogAction
,CmsCopyPageDialogAction
,CmsCopyToProjectDialogAction
,CmsDataViewAction
,CmsDeleteDialogAction
,CmsDirectPublishDialogAction
,CmsDisplayAction
,CmsEditCodeDialogAction
,CmsEditContentAction
,CmsEditDialogAction
,CmsEditPageAction
,CmsEditPointerAction
,CmsEditPropertyAction
,CmsEditSmallElementsAction
,CmsEditUserDialogAction
,CmsFavoriteDialogAction
,CmsFormEditDialogAction
,CmsGalleryDialogAction
,CmsGalleryOptimizeDialogAction
,CmsHistoryDialogAction
,CmsLinkLocaleVariantAction
,CmsLockAction
,CmsLockedResourcesAction
,CmsLogoutAction
,CmsMenuItemVisibilitySingleOnly
,CmsMoveDialogAction
,CmsPermissionDialogAction
,CmsPreferencesDialogAction
,CmsPrefillPageAction
,CmsPreviewAction
,CmsProjectDialogAction
,CmsPropertiesDialogAction
,CmsPublishQueueDialogAction
,CmsPublishScheduledDialogAction
,CmsReindexDialogAction
,CmsRenameAction
,CmsReplaceDialogAction
,CmsResourceInfoAction
,CmsRestoreDeletedAction
,CmsSecureExportDialogAction
,CmsSelectElementViewAction
,CmsSeoAction
,CmsShowLocaleAction
,CmsSiteDialogAction
,CmsSitemapAliasAction
,CmsSitemapAttributeEditorAction
,CmsSitemapEditConfigAction
,CmsSitemapOpenParentAction
,CmsSitemapRefreshAction
,CmsStandardVisibilityCheck
,CmsStealLockAction
,CmsSubmenu
,CmsTemplateContextsAction
,CmsTemplateMapperAction
,CmsTouchDialogAction
,CmsUndeleteDialogAction
,CmsUndoDialogAction
,CmsUnlinkLocaleVariantAction
,CmsUnlockAction
,CmsUnusedContentFinderAction
,CmsUserInfoDialogAction
,CmsViewInExplorerAction
,CmsViewOnlineAction
,CmsWorkplaceAction
public interface I_CmsHasMenuItemVisibility
Interface used to check menu item visibility for context menus.
-
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.
-
Method Details
-
getVisibility
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
-
getVisibility
Gets the visibility for the current dialog context.- Parameters:
context
- the dialog context- Returns:
- the visibility
-