Package org.pentaho.reporting.ui.datasources.jdbc.ui

Examples of org.pentaho.reporting.ui.datasources.jdbc.ui.JdbcDataSourceDialog$QueryTextFieldActivationHandler


  public DataFactory performEdit(final DesignTimeContext context,
                                 final DataFactory input,
                                 String queryName,
                                 final DataFactoryChangeRecorder changeRecorder)
  {
    final JdbcDataSourceDialog editor;
    final Window window = context.getParentWindow();
    if (window instanceof JDialog)
    {
      editor = new JdbcDataSourceDialog(context, (JDialog) window);
    }
    else if (window instanceof JFrame)
    {
      editor = new JdbcDataSourceDialog(context, (JFrame) window);
    }
    else
    {
      editor = new JdbcDataSourceDialog(context);
    }
    return editor.performConfiguration((SQLReportDataFactory) input, queryName);
  }
View Full Code Here


    return dataFactory instanceof SQLReportDataFactory;
  }

  public DataFactory performEdit(final DesignTimeContext context, final DataFactory input, String queryName)
  {
    final JdbcDataSourceDialog editor;
    final Window window = context.getParentWindow();
    if (window instanceof JDialog)
    {
      editor = new JdbcDataSourceDialog(context, (JDialog) window);
    }
    else if (window instanceof JFrame)
    {
      editor = new JdbcDataSourceDialog(context, (JFrame) window);
    }
    else
    {
      editor = new JdbcDataSourceDialog(context);
    }
    return editor.performConfiguration((SQLReportDataFactory) input, queryName);
  }
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.ui.datasources.jdbc.ui.JdbcDataSourceDialog$QueryTextFieldActivationHandler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.