Class ApprovalStatus
java.lang.Object
de.hybris.platform.cockpit.components.listview.AbstractListViewAction
de.hybris.platform.productcockpit.components.listview.impl.AbstractProductAction
de.hybris.platform.productcockpit.components.listview.impl.ApprovalStatus
- All Implemented Interfaces:
AdvancedListViewAction,ListViewAction
- Direct Known Subclasses:
ApprovalAction
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.hybris.platform.cockpit.components.listview.ListViewAction
ListViewAction.Context -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected static final StringFields inherited from class de.hybris.platform.cockpit.components.listview.AbstractListViewAction
alwaysEnabled, IN_EDITOR_AREA_SECTION_PANELFields inherited from interface de.hybris.platform.cockpit.components.listview.ListViewAction
AFFECTED_ITEMS_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoCreateContext(ListViewAction.Context context) org.zkoss.zul.MenupopupgetContextPopup(ListViewAction.Context context) Gets the context popup of the action button.org.zkoss.zk.ui.event.EventListenergetEventListener(ListViewAction.Context context) Gets theEventListenerwhich is to be registered for theEvents.ON_CLICKevent.getImageURI(ListViewAction.Context context) Gets the image URI which represents the action button.Gets the image URI for selection operation which represents the action button.org.zkoss.zul.MenupopupGets the popup of the action button for selection operation.org.zkoss.zul.MenupopupgetPopup(ListViewAction.Context context) Gets the popup of the action button.getStatusCode(ListViewAction.Context context) Get a status code for this action.getTooltip(ListViewAction.Context context) Gets the tooltip of the action button.protected TypeServiceMethods inherited from class de.hybris.platform.productcockpit.components.listview.impl.AbstractProductAction
getProductCockpitProductServiceMethods inherited from class de.hybris.platform.cockpit.components.listview.AbstractListViewAction
createContext, createContext, getItem, getMultiSelectEventListener, getSelectedItems, isAlwaysEnabled, sendEvent, sendUpdateItemsEvent, setAlwaysEnabled
-
Field Details
-
UNKNOWN_STATE_ICON
- See Also:
-
UNAPPROVED_STATE_ICON
- See Also:
-
APPROVED_STATE_ICON
- See Also:
-
-
Constructor Details
-
ApprovalStatus
public ApprovalStatus()
-
-
Method Details
-
getContextPopup
Description copied from interface:ListViewActionGets the context popup of the action button.- Returns:
- the popup which should appear when the user right-clicks the action button or
nullif no popup is available
-
getEventListener
Description copied from interface:ListViewActionGets theEventListenerwhich is to be registered for theEvents.ON_CLICKevent.- Returns:
- the event listener which should be called when user clicks the action button
-
getImageURI
Description copied from interface:ListViewActionGets the image URI which represents the action button.- Returns:
- URI of the image to represent the action button
-
getMultiSelectImageURI
Description copied from interface:ListViewActionGets the image URI for selection operation which represents the action button.- Specified by:
getMultiSelectImageURIin interfaceListViewAction- Overrides:
getMultiSelectImageURIin classAbstractListViewAction- Returns:
- URI of the image to represent the action button or null, if action doesn't support multi select operation
-
getMultiSelectPopup
Description copied from interface:ListViewActionGets the popup of the action button for selection operation.- Specified by:
getMultiSelectPopupin interfaceListViewAction- Overrides:
getMultiSelectPopupin classAbstractListViewAction- Returns:
- the popup which should appear when the user clicks the action button or
nullif no popup is available
-
getPopup
Description copied from interface:ListViewActionGets the popup of the action button.- Returns:
- the popup which should appear when the user clicks the action button or
nullif no popup is available
-
getStatusCode
Description copied from interface:ListViewActionGet a status code for this action. This is used e.g. by the id generator.- Specified by:
getStatusCodein interfaceListViewAction- Overrides:
getStatusCodein classAbstractListViewAction- Parameters:
context- the Context- Returns:
- a custom string defined by the instance of listviewaction
-
getTooltip
Description copied from interface:ListViewActionGets the tooltip of the action button.- Returns:
- the tooltip string which should appear when the user hovers over the action button
-
doCreateContext
- Specified by:
doCreateContextin classAbstractListViewAction
-
getTypeService
-