public class ApprovalAction extends ApprovalStatus
ListViewAction.Context| Modifier and Type | Field and Description |
|---|---|
protected String |
ICON_FUNC_APPROVAL_ACTION_AVAILABLE |
protected String |
ICON_FUNC_APPROVAL_ACTION_UNAVAILABLE |
APPROVED_STATE_ICON, UNAPPROVED_STATE_ICON, UNKNOWN_STATE_ICONalwaysEnabled, IN_EDITOR_AREA_SECTION_PANELAFFECTED_ITEMS_KEY| Constructor and Description |
|---|
ApprovalAction() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doChangeStatus(TypedObject selectedItem,
String approvalStatusCode) |
String |
getImageURI(ListViewAction.Context context)
Gets the image URI which represents the action button.
|
String |
getMultiSelectImageURI(ListViewAction.Context context)
Gets the image URI for selection operation which represents the action button.
|
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.
|
String |
getTooltip(ListViewAction.Context context)
Gets the tooltip of the action button.
|
void |
setModelHelper(ModelHelper modelHelper) |
doCreateContext, getContextPopup, getEventListener, getStatusCode, getTypeServicegetProductCockpitProductServicecreateContext, createContext, getItem, getMultiSelectEventListener, getSelectedItems, isAlwaysEnabled, sendEvent, sendUpdateItemsEvent, setAlwaysEnabledprotected String ICON_FUNC_APPROVAL_ACTION_AVAILABLE
protected String ICON_FUNC_APPROVAL_ACTION_UNAVAILABLE
public Menupopup getMultiSelectPopup(ListViewAction.Context context)
ListViewActiongetMultiSelectPopup in interface ListViewActiongetMultiSelectPopup in class ApprovalStatusnull if no popup is availablepublic Menupopup getPopup(ListViewAction.Context context)
ListViewActiongetPopup in interface ListViewActiongetPopup in class ApprovalStatusnull if no popup is availableprotected void doChangeStatus(TypedObject selectedItem, String approvalStatusCode)
public String getImageURI(ListViewAction.Context context)
ListViewActiongetImageURI in interface ListViewActiongetImageURI in class ApprovalStatuspublic String getMultiSelectImageURI(ListViewAction.Context context)
ListViewActiongetMultiSelectImageURI in interface ListViewActiongetMultiSelectImageURI in class ApprovalStatuspublic String getTooltip(ListViewAction.Context context)
ListViewActiongetTooltip in interface ListViewActiongetTooltip in class ApprovalStatuspublic void setModelHelper(ModelHelper modelHelper)
Copyright © 2017 SAP SE. All Rights Reserved.