public class DefaultDesignTimeContext extends Object implements DesignTimeContext
Constructor and Description |
---|
DefaultDesignTimeContext(AbstractReportDefinition report) |
Modifier and Type | Method and 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) |
public DefaultDesignTimeContext(AbstractReportDefinition report)
public AbstractReportDefinition getReport()
getReport
in interface DesignTimeContext
public void setParentWindow(Window parentWindow)
public Window getParentWindow()
getParentWindow
in interface DesignTimeContext
public DataSchemaModel getDataSchemaModel()
getDataSchemaModel
in interface DesignTimeContext
public void error(Exception e)
error
in interface DesignTimeContext
public void userError(Exception e)
userError
in interface DesignTimeContext
public org.pentaho.reporting.libraries.designtime.swing.settings.LocaleSettings getLocaleSettings()
getLocaleSettings
in interface DesignTimeContext
public boolean isShowExpertItems()
isShowExpertItems
in interface DesignTimeContext
public boolean isShowDeprecatedItems()
isShowDeprecatedItems
in interface DesignTimeContext
public DesignTimeDataFactoryContext getDataFactoryContext()
getDataFactoryContext
in interface DesignTimeContext
public MaturityLevel getMaturityLevel()
getMaturityLevel
in interface DesignTimeContext