Class OpenReportAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- org.pentaho.reporting.designer.core.actions.AbstractDesignerContextAction
-
- org.pentaho.reporting.designer.core.actions.global.OpenReportAction
-
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
,DesignerContextAction
,DesignerContextComponent
public final class OpenReportAction extends AbstractDesignerContextAction
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OpenReportAction.OpenReportTask
-
Field Summary
-
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
-
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
-
-
Constructor Summary
Constructors Constructor Description OpenReportAction()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(ActionEvent e)
Invoked when an action occurs.static org.pentaho.reporting.engine.classic.core.MasterReport
loadReport(File selectedFile)
static org.pentaho.reporting.engine.classic.core.MasterReport
loadReport(Object selectedFile, org.pentaho.reporting.libraries.resourceloader.ResourceManager resourceManager)
static void
openReport(File selectedFile, ReportDesignerContext context)
-
Methods inherited from class org.pentaho.reporting.designer.core.actions.AbstractDesignerContextAction
getReportDesignerContext, isVisible, setReportDesignerContext, setVisible, updateDesignerContext
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.swing.Action
accept, addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Method Detail
-
actionPerformed
public void actionPerformed(ActionEvent e)
Invoked when an action occurs.
-
openReport
public static void openReport(File selectedFile, ReportDesignerContext context)
-
loadReport
public static org.pentaho.reporting.engine.classic.core.MasterReport loadReport(File selectedFile) throws org.pentaho.reporting.libraries.resourceloader.ResourceException, IOException
- Throws:
org.pentaho.reporting.libraries.resourceloader.ResourceException
IOException
-
loadReport
public static org.pentaho.reporting.engine.classic.core.MasterReport loadReport(Object selectedFile, org.pentaho.reporting.libraries.resourceloader.ResourceManager resourceManager) throws org.pentaho.reporting.libraries.resourceloader.ResourceException, IOException
- Throws:
org.pentaho.reporting.libraries.resourceloader.ResourceException
IOException
-
-