Class KettleDataSourceDialog

java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Window
java.awt.Dialog
javax.swing.JDialog
org.pentaho.reporting.libraries.designtime.swing.CommonDialog
org.pentaho.reporting.ui.datasources.kettle.KettleDataSourceDialog
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants
Direct Known Subclasses:
EmbeddedKettleDataSourceDialog

public class KettleDataSourceDialog extends org.pentaho.reporting.libraries.designtime.swing.CommonDialog
Author:
Ezequiel Cuellar
See Also:
  • Constructor Details

    • KettleDataSourceDialog

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

      public KettleDataSourceDialog(org.pentaho.reporting.engine.classic.core.designtime.DesignTimeContext designTimeContext, JFrame parent)
    • KettleDataSourceDialog

      public KettleDataSourceDialog(org.pentaho.reporting.engine.classic.core.designtime.DesignTimeContext designTimeContext)
  • Method Details

    • getStopOnErrorsCheckBox

      protected JCheckBox getStopOnErrorsCheckBox()
    • getPreviewAction

      protected Action getPreviewAction()
    • getEditParameterAction

      protected Action getEditParameterAction()
    • getDesignTimeContext

      protected org.pentaho.reporting.engine.classic.core.designtime.DesignTimeContext getDesignTimeContext()
    • getSelectedQuery

      protected KettleQueryEntry getSelectedQuery()
    • updateQueryName

      protected void updateQueryName(String name)
    • getDialogTitle

      protected String getDialogTitle()
    • 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
    • createDatasourcePanel

      protected JPanel createDatasourcePanel()
    • performConfiguration

      public org.pentaho.reporting.engine.classic.extensions.datasources.kettle.KettleDataFactory performConfiguration(org.pentaho.reporting.engine.classic.core.designtime.DesignTimeContext context, org.pentaho.reporting.engine.classic.extensions.datasources.kettle.KettleDataFactory dataFactory, String queryName) throws org.pentaho.di.core.exception.KettleException
      Throws:
      org.pentaho.di.core.exception.KettleException
    • getQueryEntries

      protected KettleQueryEntry[] getQueryEntries()
    • configureFromDataFactory

      protected void configureFromDataFactory(org.pentaho.reporting.engine.classic.extensions.datasources.kettle.KettleDataFactory dataFactory, String selectedQueryName) throws org.pentaho.di.core.exception.KettleException
      Throws:
      org.pentaho.di.core.exception.KettleException
    • validateInputs

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

      protected KettleQueryEntry createNewQueryEntry(String queryName) throws org.pentaho.di.core.exception.KettleException
      Throws:
      org.pentaho.di.core.exception.KettleException
    • createQueryEntry

      protected KettleQueryEntry createQueryEntry(String queryName, org.pentaho.reporting.engine.classic.extensions.datasources.kettle.KettleTransformationProducer producer) throws org.pentaho.di.core.exception.KettleException
      Throws:
      org.pentaho.di.core.exception.KettleException
    • getQueryNameListener

      protected ListSelectionListener getQueryNameListener()
    • clearComponents

      protected void clearComponents()
    • findNextName

      protected String findNextName()