Class ExportEditorArea2PdfAction
- java.lang.Object
-
- de.hybris.platform.cockpit.components.listview.AbstractListViewAction
-
- de.hybris.platform.cockpit.components.editorarea.export.DefaultExportEditorAreaAction
-
- de.hybris.platform.cockpit.components.editorarea.export.ExportEditorArea2PdfAction
-
- All Implemented Interfaces:
AdvancedListViewAction,ListViewAction
public class ExportEditorArea2PdfAction extends DefaultExportEditorAreaAction
Action which triggers pdf preview of editor area
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface de.hybris.platform.cockpit.components.listview.ListViewAction
ListViewAction.Context
-
-
Field Summary
-
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 ExportEditorArea2PdfAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringgetFileName(TypedObject item)org.zkoss.zk.ui.event.EventListenergetMultiSelectEventListener(ListViewAction.Context context)Gets theEventListenerfor selection operation which is to be registered for theEvents.ON_CLICKevent.java.lang.StringgetMultiSelectImageURI(ListViewAction.Context context)Gets the image URI for selection operation which represents the action button.-
Methods inherited from class de.hybris.platform.cockpit.components.editorarea.export.DefaultExportEditorAreaAction
doCreateContext, getConfiguration, getContextPopup, getEditorAreaExporter, getEventListener, getFileName, getImageURI, getPopup, getTooltip, setEditorAreaExporter, setFileName, setImageURI, setTooltip, setuIConfigurationService
-
Methods inherited from class de.hybris.platform.cockpit.components.listview.AbstractListViewAction
createContext, createContext, getItem, getMultiSelectPopup, getSelectedItems, getStatusCode, isAlwaysEnabled, sendEvent, sendUpdateItemsEvent, setAlwaysEnabled
-
-
-
-
Method Detail
-
getFileName
protected java.lang.String getFileName(TypedObject item)
- Overrides:
getFileNamein classDefaultExportEditorAreaAction- Returns:
- the desired file name
-
getMultiSelectEventListener
public org.zkoss.zk.ui.event.EventListener getMultiSelectEventListener(ListViewAction.Context context)
Description copied from interface:ListViewActionGets theEventListenerfor selection operation which is to be registered for theEvents.ON_CLICKevent.- Specified by:
getMultiSelectEventListenerin interfaceListViewAction- Overrides:
getMultiSelectEventListenerin classAbstractListViewAction- Returns:
- the event listener which should be called when user clicks the action button
-
getMultiSelectImageURI
public java.lang.String getMultiSelectImageURI(ListViewAction.Context context)
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
-
-