public class AddProductToExpressUdateAction extends AbstractProductAction
ListViewAction.Context| Modifier and Type | Field and Description |
|---|---|
protected String |
BUTTON_ICON |
protected String |
BUTTON_ICON_INACTIVE |
protected static String |
EXPRESS_UPDATE_CATALOG_VERSIONS |
alwaysEnabled, IN_EDITOR_AREA_SECTION_PANELAFFECTED_ITEMS_KEY| Constructor and Description |
|---|
AddProductToExpressUdateAction() |
| 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.
|
EventListener |
getMultiSelectEventListener(ListViewAction.Context context)
Gets the
EventListener for selection operation which is to be registered for the Events#ON_CLICK event. |
String |
getMultiSelectImageURI(ListViewAction.Context context)
Gets the image URI for selection operation which represents the action button.
|
Menupopup |
getPopup(ListViewAction.Context context)
Gets the popup of the action button.
|
MessageChannel |
getProductExpressUpdateChannel() |
String |
getTooltip(ListViewAction.Context context)
Gets the tooltip of the action button.
|
protected boolean |
isAddingToExpressUpdateEnabled(ListViewAction.Context context) |
protected boolean |
isMultiAddingToExpressUpdateEnabled(ListViewAction.Context context) |
protected boolean |
sendProductToChannel(ProductModel product) |
void |
setProductExpressUpdateChannel(MessageChannel productExpressUpdateChannel) |
getProductCockpitProductServicecreateContext, createContext, getItem, getMultiSelectPopup, getSelectedItems, getStatusCode, isAlwaysEnabled, sendEvent, sendUpdateItemsEvent, setAlwaysEnabledprotected static final String EXPRESS_UPDATE_CATALOG_VERSIONS
protected String BUTTON_ICON
protected String BUTTON_ICON_INACTIVE
public String getTooltip(ListViewAction.Context context)
ListViewActionpublic String getImageURI(ListViewAction.Context context)
ListViewActionprotected boolean isAddingToExpressUpdateEnabled(ListViewAction.Context context)
public EventListener getEventListener(ListViewAction.Context context)
ListViewActionEventListener which is to be registered for the Events#ON_CLICK event.protected boolean sendProductToChannel(ProductModel product)
public String getMultiSelectImageURI(ListViewAction.Context context)
ListViewActiongetMultiSelectImageURI in interface ListViewActiongetMultiSelectImageURI in class AbstractListViewActionprotected boolean isMultiAddingToExpressUpdateEnabled(ListViewAction.Context context)
public EventListener getMultiSelectEventListener(ListViewAction.Context context)
ListViewActionEventListener for selection operation which is to be registered for the Events#ON_CLICK event.getMultiSelectEventListener in interface ListViewActiongetMultiSelectEventListener in class AbstractListViewActionpublic Menupopup getPopup(ListViewAction.Context context)
ListViewActionnull if no popup is availablepublic Menupopup getContextPopup(ListViewAction.Context context)
ListViewActionnull if no popup is
availableprotected void doCreateContext(ListViewAction.Context context)
doCreateContext in class AbstractListViewActionpublic MessageChannel getProductExpressUpdateChannel()
public void setProductExpressUpdateChannel(MessageChannel productExpressUpdateChannel)
Copyright © 2017 SAP SE. All Rights Reserved.