public class B2BMerchantCheckEnableOrDisableAction extends AbstractEnableDisableAction
ListViewAction.ContextAPPROVED_STATE_ICON, ICON_FUNC_APPROVAL_ACTION_AVAILABLE, ICON_FUNC_APPROVAL_ACTION_UNAVAILABLE, ITEM_ACTIVE, UNAPPROVED_STATE_ICON, UNKNOWN_STATE_ICONalwaysEnabled, IN_EDITOR_AREA_SECTION_PANELAFFECTED_ITEMS_KEY| Constructor and Description |
|---|
B2BMerchantCheckEnableOrDisableAction() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doChangeStatus(TypedObject selectedItem,
boolean activeStatus) |
ModelHelper |
getModelHelper() |
Menupopup |
getMultiSelectPopup(ListViewAction.Context context)
Gets the popup of the action button for selection operation.
|
Menupopup |
getPopup(ListViewAction.Context context)
Gets the popup of the action button.
|
ValueService |
getValueService() |
void |
setModelHelper(ModelHelper modelHelper) |
void |
setValueService(ValueService valueService) |
doCreateContext, getContextPopup, getEventListener, getImageURI, getMultiSelectImageURI, getStatusLabel, getTooltip, getTypeService, setTypeServicecreateContext, createContext, getItem, getMultiSelectEventListener, getSelectedItems, getStatusCode, isAlwaysEnabled, sendEvent, sendUpdateItemsEvent, setAlwaysEnabledpublic B2BMerchantCheckEnableOrDisableAction()
public ValueService getValueService()
public void setValueService(ValueService valueService)
valueService - the valueService to setpublic ModelHelper getModelHelper()
public void setModelHelper(ModelHelper modelHelper)
modelHelper - the modelHelper to setpublic Menupopup getMultiSelectPopup(ListViewAction.Context context)
ListViewActiongetMultiSelectPopup in interface ListViewActiongetMultiSelectPopup in class AbstractListViewActionnull if no popup is availablepublic Menupopup getPopup(ListViewAction.Context context)
ListViewActiongetPopup in interface ListViewActiongetPopup in class AbstractEnableDisableActionnull if no popup is availableprotected void doChangeStatus(TypedObject selectedItem, boolean activeStatus) throws Exception
ExceptionCopyright © 2017 SAP SE. All Rights Reserved.