public class ApprovalStatus extends AbstractProductAction
ListViewAction.Context| Modifier and Type | Field and Description |
|---|---|
protected static String |
APPROVED_STATE_ICON |
protected static String |
UNAPPROVED_STATE_ICON |
protected static String |
UNKNOWN_STATE_ICON |
alwaysEnabled, IN_EDITOR_AREA_SECTION_PANELAFFECTED_ITEMS_KEY| Constructor and Description |
|---|
ApprovalStatus() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doCreateContext(ListViewAction.Context context) |
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.
|
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 |
getStatusCode(ListViewAction.Context context)
Get a status code for this action.
|
String |
getTooltip(ListViewAction.Context context)
Gets the tooltip of the action button.
|
protected TypeService |
getTypeService() |
getProductCockpitProductServicecreateContext, createContext, getItem, getMultiSelectEventListener, getSelectedItems, isAlwaysEnabled, sendEvent, sendUpdateItemsEvent, setAlwaysEnabledprotected static final String UNKNOWN_STATE_ICON
protected static final String UNAPPROVED_STATE_ICON
protected static final String APPROVED_STATE_ICON
public Menupopup getContextPopup(ListViewAction.Context context)
ListViewActionnull if no popup is
availablepublic EventListener getEventListener(ListViewAction.Context context)
ListViewActionEventListener which is to be registered for the Events#ON_CLICK event.public String getImageURI(ListViewAction.Context context)
ListViewActionpublic String getMultiSelectImageURI(ListViewAction.Context context)
ListViewActiongetMultiSelectImageURI in interface ListViewActiongetMultiSelectImageURI in class AbstractListViewActionpublic Menupopup getMultiSelectPopup(ListViewAction.Context context)
ListViewActiongetMultiSelectPopup in interface ListViewActiongetMultiSelectPopup in class AbstractListViewActionnull if no popup is availablepublic Menupopup getPopup(ListViewAction.Context context)
ListViewActionnull if no popup is availablepublic String getStatusCode(ListViewAction.Context context)
ListViewActiongetStatusCode in interface ListViewActiongetStatusCode in class AbstractListViewActioncontext - the Contextpublic String getTooltip(ListViewAction.Context context)
ListViewActionprotected void doCreateContext(ListViewAction.Context context)
doCreateContext in class AbstractListViewActionprotected TypeService getTypeService()
Copyright © 2017 SAP SE. All Rights Reserved.