org.pentaho.reporting.engine.classic.core.designtime
Class DefaultDesignTimeContext
java.lang.Object
org.pentaho.reporting.engine.classic.core.designtime.DefaultDesignTimeContext
- All Implemented Interfaces:
- DesignTimeContext
public class DefaultDesignTimeContext
- extends Object
- implements DesignTimeContext
Todo: Document me!
Date: 19.07.2009
Time: 18:17:59
- Author:
- Thomas Morgner.
DefaultDesignTimeContext
public DefaultDesignTimeContext(AbstractReportDefinition report)
getReport
public AbstractReportDefinition getReport()
- The currently active report (or subreport).
- Specified by:
getReport
in interface DesignTimeContext
- Returns:
- the active report.
setParentWindow
public void setParentWindow(Window parentWindow)
getParentWindow
public Window getParentWindow()
- The parent window in the GUI for showing modal dialogs.
- Specified by:
getParentWindow
in interface DesignTimeContext
- Returns:
- the window or null, if there is no parent.
getDataSchemaModel
public DataSchemaModel getDataSchemaModel()
- Specified by:
getDataSchemaModel
in interface DesignTimeContext
error
public void error(Exception e)
- Specified by:
error
in interface DesignTimeContext
userError
public void userError(Exception e)
- Specified by:
userError
in interface DesignTimeContext
getLocaleSettings
public org.pentaho.reporting.libraries.designtime.swing.settings.LocaleSettings getLocaleSettings()
- Specified by:
getLocaleSettings
in interface DesignTimeContext