public class VisibleActionEnabledStrategy extends java.lang.Object implements ComponentAdminActionEnabledStrategy
| Constructor and Description |
|---|
VisibleActionEnabledStrategy() |
| Modifier and Type | Method and Description |
|---|---|
CMSComponentService |
getCmsComponentService() |
boolean |
isEnabled(ComponentActionMenuRequestData request) |
boolean |
isVisible(ComponentActionMenuRequestData request,
boolean enabled) |
void |
setCmsComponentService(CMSComponentService cmsComponentService) |
void |
setEnabledIfVisible(boolean enabledIfVisible) |
public boolean isEnabled(ComponentActionMenuRequestData request)
isEnabled in interface ComponentAdminActionEnabledStrategypublic void setEnabledIfVisible(boolean enabledIfVisible)
public CMSComponentService getCmsComponentService()
public void setCmsComponentService(CMSComponentService cmsComponentService)
cmsComponentService - the cmsComponentService to setpublic boolean isVisible(ComponentActionMenuRequestData request, boolean enabled)
isVisible in interface ComponentAdminActionEnabledStrategyCopyright © 2018 SAP SE. All Rights Reserved.