Class JdbcDataSourceDialog

    • Field Detail

      • logger

        protected static final org.apache.commons.logging.Log logger
    • Constructor Detail

      • JdbcDataSourceDialog

        public JdbcDataSourceDialog​(org.pentaho.reporting.engine.classic.core.designtime.DesignTimeContext designTimeContext)
      • JdbcDataSourceDialog

        public JdbcDataSourceDialog​(org.pentaho.reporting.engine.classic.core.designtime.DesignTimeContext designTimeContext,
                                    JDialog parent)
      • JdbcDataSourceDialog

        public JdbcDataSourceDialog​(org.pentaho.reporting.engine.classic.core.designtime.DesignTimeContext designTimeContext,
                                    JFrame parent)
    • Method Detail

      • performConfiguration

        public org.pentaho.reporting.engine.classic.core.modules.misc.datafactory.sql.SQLReportDataFactory performConfiguration​(org.pentaho.reporting.engine.classic.core.modules.misc.datafactory.sql.SQLReportDataFactory dataFactory,
                                                                                                                                String selectedQueryName)
        Displays the dialog and returns the newly created JNDIDataSetReportElement
        Parameters:
        dataFactory - the datafactory to be configured or null to create a new one
        Returns:
        the a clone of the configured datafactory or null on cancel.
      • setScriptingLanguage

        protected void setScriptingLanguage​(String lang,
                                            JComboBox languageField)
      • getDialogId

        protected String getDialogId()
        Specified by:
        getDialogId in class org.pentaho.reporting.libraries.designtime.swing.CommonDialog
      • createContentPane

        protected Component createContentPane()
        Specified by:
        createContentPane in class org.pentaho.reporting.libraries.designtime.swing.CommonDialog
      • getQueryName

        protected String getQueryName()
      • setQueryName

        protected void setQueryName​(String queryName)
      • validateInputs

        protected boolean validateInputs​(boolean onConfirm)
        Overrides:
        validateInputs in class org.pentaho.reporting.libraries.designtime.swing.CommonDialog