"true".equals(config.getConfigProperty(
"org.pentaho.reporting.engine.classic.core.modules.gui.html.stream.AdvancedSettingsAvailable"));
final boolean metaDataSettingsTabAvail =
"true".equals(config.getConfigProperty(
"org.pentaho.reporting.engine.classic.core.modules.gui.html.stream.MetaDataSettingsAvailable"));
final JTabbedPane tabbedPane = new JTabbedPane();
tabbedPane.add(getResources().getString("htmlexportdialog.export-settings"), exportPane); //$NON-NLS-1$
tabbedPane.add(getResources().getString("htmlexportdialog.parameters"), getParametersPanel()); //$NON-NLS-1$
if (metaDataSettingsTabAvail)
{
tabbedPane.add(getResources().getString("htmlexportdialog.metadata-settings"),
createMetaDataPanel()); //$NON-NLS-1$
}
if (advancedSettingsTabAvail)
{
tabbedPane.add(getResources().getString("htmlexportdialog.advanced-settings"),
createExportOptionsPanel()); //$NON-NLS-1$
}
setContentPane(createContentPane(tabbedPane));
}