public class CmsRestrictionAction extends AbstractCmscockpitListViewAction implements CmsPageBrowserAction
ListViewAction.ContextalwaysEnabled, IN_EDITOR_AREA_SECTION_PANELAFFECTED_ITEMS_KEY| Constructor and Description |
|---|
CmsRestrictionAction() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doCreateContext(ListViewAction.Context context) |
CmsCockpitService |
getCmsCockpitService() |
Menupopup |
getContextPopup(ListViewAction.Context context)
Gets the context popup of the action button.
|
EventListener |
getEventListener(ListViewAction.Context context)
Gets the
EventListener which is to be registered for the Events#ON_CLICK event. |
String |
getImageURI(ListViewAction.Context context)
Gets the image URI which represents the action button.
|
Menupopup |
getPopup(ListViewAction.Context context)
Gets the popup of the action button.
|
String |
getPrefixLabel() |
protected List<TypedObject> |
getRestrictions(TypedObject component) |
String |
getTooltip(ListViewAction.Context context)
Gets the tooltip of the action button.
|
boolean |
isForceDisplay() |
void |
setForceDisplay(boolean forceDisplay) |
getCmsPageLockingService, getCmsPageService, getSystemService, getTypeService, getUIAccessRightService, isComponentLockedForUser, isEnabled, isWritableCatalog, movecreateContext, createContext, getItem, getMultiSelectEventListener, getMultiSelectImageURI, getMultiSelectPopup, getSelectedItems, getStatusCode, isAlwaysEnabled, sendEvent, sendUpdateItemsEvent, setAlwaysEnabledprotected void doCreateContext(ListViewAction.Context context)
doCreateContext in class AbstractListViewActionpublic Menupopup getContextPopup(ListViewAction.Context context)
ListViewActiongetContextPopup in interface ListViewActionnull if no popup is
availablepublic EventListener getEventListener(ListViewAction.Context context)
ListViewActionEventListener which is to be registered for the Events#ON_CLICK event.getEventListener in interface ListViewActionpublic String getImageURI(ListViewAction.Context context)
ListViewActiongetImageURI in interface ListViewActionprotected List<TypedObject> getRestrictions(TypedObject component)
public Menupopup getPopup(ListViewAction.Context context)
ListViewActiongetPopup in interface ListViewActionnull if no popup is availablepublic String getTooltip(ListViewAction.Context context)
ListViewActiongetTooltip in interface ListViewActionpublic void setForceDisplay(boolean forceDisplay)
public boolean isForceDisplay()
public String getPrefixLabel()
getPrefixLabel in interface CmsPageBrowserActionpublic CmsCockpitService getCmsCockpitService()
Copyright © 2017 SAP SE. All Rights Reserved.