Class BaseProductAction
- 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.VariantsStatus
-
- de.hybris.platform.productcockpit.components.listview.impl.BaseProductAction
-
- All Implemented Interfaces:
AdvancedListViewAction,ListViewAction
public class BaseProductAction extends VariantsStatus
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface de.hybris.platform.cockpit.components.listview.ListViewAction
ListViewAction.Context
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPROPERTY_DESCRIPTOR-
Fields inherited from class de.hybris.platform.productcockpit.components.listview.impl.VariantsStatus
ICON_BASE_PORDUCT_STATUS, ICON_BASE_VARIANT_STATUS, ICON_VARIANT_PORDUCT_STATUS
-
Fields inherited from class de.hybris.platform.cockpit.components.listview.AbstractListViewAction
alwaysEnabled, IN_EDITOR_AREA_SECTION_PANEL
-
Fields inherited from interface de.hybris.platform.cockpit.components.listview.ListViewAction
AFFECTED_ITEMS_KEY
-
-
Constructor Summary
Constructors Constructor Description BaseProductAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.zkoss.zk.ui.event.EventListenergetEventListener(ListViewAction.Context context)Gets theEventListenerwhich is to be registered for theEvents.ON_CLICKevent.java.lang.StringgetImageURI(ListViewAction.Context context)Gets the image URI which represents the action button.java.lang.StringgetTooltip(ListViewAction.Context context)Gets the tooltip of the action button.-
Methods inherited from class de.hybris.platform.productcockpit.components.listview.impl.VariantsStatus
doCreateContext, getContextPopup, getPopup, getStatusCode, getTypeService
-
Methods inherited from class de.hybris.platform.productcockpit.components.listview.impl.AbstractProductAction
getProductCockpitProductService
-
Methods inherited from class de.hybris.platform.cockpit.components.listview.AbstractListViewAction
createContext, createContext, getItem, getMultiSelectEventListener, getMultiSelectImageURI, getMultiSelectPopup, getSelectedItems, isAlwaysEnabled, sendEvent, sendUpdateItemsEvent, setAlwaysEnabled
-
-
-
-
Field Detail
-
PROPERTY_DESCRIPTOR
public static final java.lang.String PROPERTY_DESCRIPTOR
- See Also:
- Constant Field Values
-
-
Method Detail
-
getImageURI
public java.lang.String getImageURI(ListViewAction.Context context)
Description copied from interface:ListViewActionGets the image URI which represents the action button.- Specified by:
getImageURIin interfaceListViewAction- Overrides:
getImageURIin classVariantsStatus- Returns:
- URI of the image to represent the action button
-
getEventListener
public org.zkoss.zk.ui.event.EventListener getEventListener(ListViewAction.Context context)
Description copied from interface:ListViewActionGets theEventListenerwhich is to be registered for theEvents.ON_CLICKevent.- Specified by:
getEventListenerin interfaceListViewAction- Overrides:
getEventListenerin classVariantsStatus- Returns:
- the event listener which should be called when user clicks the action button
-
getTooltip
public java.lang.String getTooltip(ListViewAction.Context context)
Description copied from interface:ListViewActionGets the tooltip of the action button.- Specified by:
getTooltipin interfaceListViewAction- Overrides:
getTooltipin classVariantsStatus- Returns:
- the tooltip string which should appear when the user hovers over the action button
-
-