}
if (swingGuiContext != null)
{
this.statusListener = swingGuiContext.getStatusListener();
this.messages = new Messages(swingGuiContext.getLocale(), RTFExportPlugin.BASE_RESOURCE_CLASS,
ObjectUtilities.getClassLoader(RTFExportPlugin.class));
}
else
{
this.messages = new Messages(Locale.getDefault(), RTFExportPlugin.BASE_RESOURCE_CLASS,
ObjectUtilities.getClassLoader(RTFExportPlugin.class));
}
final String filename = report.getConfiguration().getConfigProperty
("org.pentaho.reporting.engine.classic.core.modules.gui.rtf.FileName"); //$NON-NLS-1$