Class DefaultDesignTimeContext
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.designtime.DefaultDesignTimeContext
-
- All Implemented Interfaces:
DesignTimeContext
public class DefaultDesignTimeContext extends Object implements DesignTimeContext
-
-
Constructor Summary
Constructors Constructor Description DefaultDesignTimeContext(AbstractReportDefinition report)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
error(Exception e)
DesignTimeDataFactoryContext
getDataFactoryContext()
DataSchemaModel
getDataSchemaModel()
org.pentaho.reporting.libraries.designtime.swing.settings.LocaleSettings
getLocaleSettings()
MaturityLevel
getMaturityLevel()
Window
getParentWindow()
The parent window in the GUI for showing modal dialogs.AbstractReportDefinition
getReport()
The currently active report (or subreport).boolean
isShowDeprecatedItems()
boolean
isShowExpertItems()
void
setParentWindow(Window parentWindow)
void
userError(Exception e)
-
-
-
Constructor Detail
-
DefaultDesignTimeContext
public DefaultDesignTimeContext(AbstractReportDefinition report)
-
-
Method Detail
-
getReport
public AbstractReportDefinition getReport()
The currently active report (or subreport).- Specified by:
getReport
in interfaceDesignTimeContext
- 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 interfaceDesignTimeContext
- Returns:
- the window or null, if there is no parent.
-
getDataSchemaModel
public DataSchemaModel getDataSchemaModel()
- Specified by:
getDataSchemaModel
in interfaceDesignTimeContext
-
error
public void error(Exception e)
- Specified by:
error
in interfaceDesignTimeContext
-
userError
public void userError(Exception e)
- Specified by:
userError
in interfaceDesignTimeContext
-
getLocaleSettings
public org.pentaho.reporting.libraries.designtime.swing.settings.LocaleSettings getLocaleSettings()
- Specified by:
getLocaleSettings
in interfaceDesignTimeContext
-
isShowExpertItems
public boolean isShowExpertItems()
- Specified by:
isShowExpertItems
in interfaceDesignTimeContext
-
isShowDeprecatedItems
public boolean isShowDeprecatedItems()
- Specified by:
isShowDeprecatedItems
in interfaceDesignTimeContext
-
getDataFactoryContext
public DesignTimeDataFactoryContext getDataFactoryContext()
- Specified by:
getDataFactoryContext
in interfaceDesignTimeContext
-
getMaturityLevel
public MaturityLevel getMaturityLevel()
- Specified by:
getMaturityLevel
in interfaceDesignTimeContext
-
-