public class AddMultiItemCommentAction extends AbstractCommentAction
ListViewAction.ContextAREA, BROWSER_AREA, EDITOR_AREA, PARENT, UPDATELISTENERalwaysEnabled, IN_EDITOR_AREA_SECTION_PANELAFFECTED_ITEMS_KEY| Constructor and Description |
|---|
AddMultiItemCommentAction() |
AddMultiItemCommentAction(List<TypedObject> selectedItems) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doCreateContext(ListViewAction.Context context) |
String |
getCommentTypeCode() |
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.
|
String |
getTooltip(ListViewAction.Context context)
Gets the tooltip of the action button.
|
TypeService |
getTypeService() |
void |
setCommentTypeCode(String commentTypeCode) |
getCockpitCommentService, getCommentService, getCommentType, getComponent, getDomain, setCommentType, setComponent, setDomaincreateContext, createContext, getItem, getMultiSelectPopup, getSelectedItems, getStatusCode, isAlwaysEnabled, sendEvent, sendUpdateItemsEvent, setAlwaysEnabledpublic AddMultiItemCommentAction()
public AddMultiItemCommentAction(List<TypedObject> selectedItems)
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 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 Menupopup getContextPopup(ListViewAction.Context context)
ListViewActionnull if no popup is
availableprotected void doCreateContext(ListViewAction.Context context)
doCreateContext in class AbstractListViewActionpublic String getTooltip(ListViewAction.Context context)
ListViewActionpublic String getImageURI(ListViewAction.Context context)
ListViewActionpublic String getMultiSelectImageURI(ListViewAction.Context context)
ListViewActiongetMultiSelectImageURI in interface ListViewActiongetMultiSelectImageURI in class AbstractListViewActionpublic TypeService getTypeService()
public String getCommentTypeCode()
public void setCommentTypeCode(String commentTypeCode)
commentTypeCode - the commentTypeCode to setCopyright © 2017 SAP SE. All Rights Reserved.