Class AbstractExportActionPlugin
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.modules.gui.commonswing.AbstractActionPlugin
-
- org.pentaho.reporting.engine.classic.core.modules.gui.commonswing.AbstractExportActionPlugin
-
- All Implemented Interfaces:
ActionPlugin
,ExportActionPlugin
- Direct Known Subclasses:
CSVDataExportPlugin
,CSVTableExportPlugin
,ExcelExportPlugin
,HtmlDirExportPlugin
,HtmlStreamExportPlugin
,HtmlZipExportPlugin
,PdfExportPlugin
,PlainTextExportPlugin
,PrintingPlugin
,RTFExportPlugin
,XSSFExcelExportPlugin
public abstract class AbstractExportActionPlugin extends AbstractActionPlugin implements ExportActionPlugin
Creation-Date: 02.12.2006, 14:21:07- Author:
- Thomas Morgner
-
-
Field Summary
-
Fields inherited from class org.pentaho.reporting.engine.classic.core.modules.gui.commonswing.AbstractActionPlugin
ENABLED_PROPERTY
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractExportActionPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ExportDialog
createExportDialog(String className)
Creates a progress dialog, and tries to assign a parent based on the given preview proxy.void
deinitialize(SwingGuiContext swingGuiContext)
boolean
initialize(SwingGuiContext context)
protected boolean
isProgressDialogEnabled(MasterReport report, String configKey)
boolean
performShowExportDialog(MasterReport job, String configKey)
Exports a report.-
Methods inherited from class org.pentaho.reporting.engine.classic.core.modules.gui.commonswing.AbstractActionPlugin
addPropertyChangeListener, addPropertyChangeListener, createProgressDialog, getBaseResources, getConfig, getConfigurationPrefix, getContext, getIconTheme, getMenuOrder, getPropertyChangeSupport, getRole, getRolePreference, getToolbarOrder, isAddToMenu, isAddToToolbar, isEnabled, isSeparated, removePropertyChangeListener, setEnabled
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.pentaho.reporting.engine.classic.core.modules.gui.commonswing.ActionPlugin
addPropertyChangeListener, addPropertyChangeListener, getAcceleratorKey, getDisplayName, getLargeIcon, getMenuOrder, getMnemonicKey, getRole, getRolePreference, getShortDescription, getSmallIcon, getToolbarOrder, isAddToMenu, isAddToToolbar, isEnabled, isSeparated, removePropertyChangeListener
-
Methods inherited from interface org.pentaho.reporting.engine.classic.core.modules.gui.commonswing.ExportActionPlugin
performExport
-
-
-
-
Method Detail
-
initialize
public boolean initialize(SwingGuiContext context)
- Specified by:
initialize
in interfaceActionPlugin
- Overrides:
initialize
in classAbstractActionPlugin
-
deinitialize
public void deinitialize(SwingGuiContext swingGuiContext)
- Specified by:
deinitialize
in interfaceActionPlugin
- Overrides:
deinitialize
in classAbstractActionPlugin
-
createExportDialog
protected ExportDialog createExportDialog(String className) throws InstantiationException
Creates a progress dialog, and tries to assign a parent based on the given preview proxy.- Returns:
- the progress dialog.
- Throws:
InstantiationException
-
performShowExportDialog
public boolean performShowExportDialog(MasterReport job, String configKey)
Exports a report.- Parameters:
job
- the report.- Returns:
- A boolean.
-
isProgressDialogEnabled
protected boolean isProgressDialogEnabled(MasterReport report, String configKey)
-
-