Class DatabaseDialog
- java.lang.Object
-
- org.pentaho.di.ui.core.database.dialog.XulDatabaseDialog
-
- 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
-
-
Field Summary
-
Fields inherited from class org.pentaho.di.ui.core.database.dialog.XulDatabaseDialog
shell
-
-
Constructor Summary
Constructors Constructor Description DatabaseDialog(org.eclipse.swt.widgets.Shell parent)
DatabaseDialog(org.eclipse.swt.widgets.Shell parent, org.pentaho.di.core.database.DatabaseMeta databaseMeta)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
checkPasswordVisible(org.eclipse.swt.widgets.Text wPassword)
String
open()
Opens the XUL database dialogstatic void
showDatabaseExistsDialog(org.eclipse.swt.widgets.Shell parent, org.pentaho.di.core.database.DatabaseMeta databaseMeta)
static void
test(org.eclipse.swt.widgets.Shell shell, org.pentaho.di.core.database.DatabaseMeta dbinfo)
Test the database connection-
Methods inherited from class org.pentaho.di.ui.core.database.dialog.XulDatabaseDialog
getDatabaseMeta, isModalDialog, setDatabaseMeta, setDatabases, setModalDialog
-
-
-
-
Method Detail
-
open
public String open()
Description copied from class:XulDatabaseDialog
Opens the XUL database dialog- Overrides:
open
in classXulDatabaseDialog
- 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(org.eclipse.swt.widgets.Text wPassword)
-
test
public static final void test(org.eclipse.swt.widgets.Shell shell, org.pentaho.di.core.database.DatabaseMeta dbinfo)
Test the database connection
-
showDatabaseExistsDialog
public static void showDatabaseExistsDialog(org.eclipse.swt.widgets.Shell parent, org.pentaho.di.core.database.DatabaseMeta databaseMeta)
-
-