public class B2BOrganizationButtonAction extends AbstractListViewAction
ListViewAction.Context| Modifier and Type | Field and Description |
|---|---|
protected boolean |
alwaysEnabled |
IN_EDITOR_AREA_SECTION_PANELAFFECTED_ITEMS_KEY| Constructor and Description |
|---|
B2BOrganizationButtonAction() |
| 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. |
java.lang.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. |
java.lang.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.
|
protected SessionService |
getSessionService() |
java.lang.String |
getTooltip(ListViewAction.Context context)
Gets the tooltip of the action button.
|
boolean |
isAlwaysEnabled()
Specifies whether this action should be enabled even though the component (where this action is used) is marked as
non-editable.
|
void |
setAlwaysEnabled(boolean alwaysEnabled)
Sets whether this action is always enabled or not.
|
void |
setSessionService(SessionService sessionService) |
void |
setUserService(UserService defaultUserService) |
createContext, createContext, getItem, getMultiSelectPopup, getSelectedItems, getStatusCode, sendEvent, sendUpdateItemsEventprotected SessionService getSessionService()
public void setSessionService(SessionService sessionService)
sessionService - the sessionService to setpublic void setUserService(UserService defaultUserService)
public boolean isAlwaysEnabled()
AdvancedListViewActionisAlwaysEnabled in interface AdvancedListViewActionisAlwaysEnabled in class AbstractListViewActiontrue if this action is always enabled, false otherwisepublic void setAlwaysEnabled(boolean alwaysEnabled)
AdvancedListViewActionsetAlwaysEnabled in interface AdvancedListViewActionsetAlwaysEnabled in class AbstractListViewActionalwaysEnabled - true means this action will always be enabled even though the component is marked as
non-editablepublic java.lang.String getImageURI(ListViewAction.Context context)
ListViewActionpublic 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 EventListener getEventListener(ListViewAction.Context context)
ListViewActionEventListener which is to be registered for the Events#ON_CLICK event.public java.lang.String getMultiSelectImageURI(ListViewAction.Context context)
ListViewActiongetMultiSelectImageURI in interface ListViewActiongetMultiSelectImageURI in class AbstractListViewActionpublic java.lang.String getTooltip(ListViewAction.Context context)
ListViewActionpublic 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 AbstractListViewActionCopyright © 2018 SAP SE. All Rights Reserved.