org.pentaho.di.ui.core.database.dialog
Class DatabaseDialog

java.lang.Object
  extended by org.pentaho.di.ui.core.database.dialog.XulDatabaseDialog
      extended by org.pentaho.di.ui.core.database.dialog.DatabaseDialog

public class DatabaseDialog
extends XulDatabaseDialog

Dialog that allows you to edit the settings of a database connection.

Since:
18-05-2003
Author:
Matt
See Also:
DatabaseInfo

Constructor Summary
DatabaseDialog(Shell parent)
           
DatabaseDialog(Shell parent, DatabaseMeta databaseMeta)
           
 
Method Summary
static void checkPasswordVisible(Text wPassword)
           
 String open()
          Opens the XUL database dialog
static void test(Shell shell, DatabaseMeta dbinfo)
          Test the database connection
 
Methods inherited from class org.pentaho.di.ui.core.database.dialog.XulDatabaseDialog
getDatabaseMeta, isModalDialog, setDatabaseMeta, setDatabases, setModalDialog
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatabaseDialog

public DatabaseDialog(Shell parent)

DatabaseDialog

public DatabaseDialog(Shell parent,
                      DatabaseMeta databaseMeta)
Method Detail

open

public String open()
Description copied from class: XulDatabaseDialog
Opens the XUL database dialog

Overrides:
open in class XulDatabaseDialog
Returns:
databaseName (or NULL on error or cancel) TODO: Fix deprecation warning in v3.2 by using the new dialog

checkPasswordVisible

public static final void checkPasswordVisible(Text wPassword)

test

public static final void test(Shell shell,
                              DatabaseMeta dbinfo)
Test the database connection