public class NewItemAction extends AbstractListViewAction
ListViewAction.Context| Modifier and Type | Field and Description |
|---|---|
protected String |
ADD_BUTTON_ICON |
alwaysEnabled, IN_EDITOR_AREA_SECTION_PANELAFFECTED_ITEMS_KEY| Constructor and Description |
|---|
NewItemAction() |
| 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.
|
Menupopup |
getPopup(ListViewAction.Context context)
Gets the popup of the action button.
|
String |
getTooltip(ListViewAction.Context context)
Gets the tooltip of the action button.
|
createContext, createContext, getItem, getMultiSelectEventListener, getMultiSelectImageURI, getMultiSelectPopup, getSelectedItems, getStatusCode, isAlwaysEnabled, sendEvent, sendUpdateItemsEvent, setAlwaysEnabledprotected String ADD_BUTTON_ICON
public String getImageURI(ListViewAction.Context context)
ListViewActionpublic EventListener getEventListener(ListViewAction.Context context)
ListViewActionEventListener which is to be registered for the Events#ON_CLICK event.public Menupopup getPopup(ListViewAction.Context context)
ListViewActionnull if no popup is availablepublic String getTooltip(ListViewAction.Context context)
ListViewActionprotected void doCreateContext(ListViewAction.Context context)
doCreateContext in class AbstractListViewActionpublic Menupopup getContextPopup(ListViewAction.Context context)
ListViewActionnull if no popup is
availableCopyright © 2017 SAP SE. All Rights Reserved.