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.String
getFileName(TypedObject item)
org.zkoss.zk.ui.event.EventListener
getMultiSelectEventListener(ListViewAction.Context context)
Gets theEventListener
for selection operation which is to be registered for theEvents.ON_CLICK
event.java.lang.String
getMultiSelectImageURI(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:
getFileName
in classDefaultExportEditorAreaAction
- Returns:
- the desired file name
-
getMultiSelectEventListener
public org.zkoss.zk.ui.event.EventListener getMultiSelectEventListener(ListViewAction.Context context)
Description copied from interface:ListViewAction
Gets theEventListener
for selection operation which is to be registered for theEvents.ON_CLICK
event.- Specified by:
getMultiSelectEventListener
in interfaceListViewAction
- Overrides:
getMultiSelectEventListener
in 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:ListViewAction
Gets the image URI for selection operation which represents the action button.- Specified by:
getMultiSelectImageURI
in interfaceListViewAction
- Overrides:
getMultiSelectImageURI
in classAbstractListViewAction
- Returns:
- URI of the image to represent the action button or null, if action doesn't support multi select operation
-
-