Class DatabaseDialog
java.lang.Object
org.pentaho.di.ui.core.database.dialog.XulDatabaseDialog
org.pentaho.di.ui.core.database.dialog.DatabaseDialog
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
ConstructorDescriptionDatabaseDialog
(org.eclipse.swt.widgets.Shell parent) DatabaseDialog
(org.eclipse.swt.widgets.Shell parent, org.pentaho.di.core.database.DatabaseMeta databaseMeta) -
Method Summary
Modifier and TypeMethodDescriptionstatic final void
checkPasswordVisible
(org.eclipse.swt.widgets.Text wPassword) open()
Opens the XUL database dialogstatic void
showDatabaseExistsDialog
(org.eclipse.swt.widgets.Shell parent, org.pentaho.di.core.database.DatabaseMeta databaseMeta) static final void
test
(org.eclipse.swt.widgets.Shell shell, org.pentaho.di.core.database.DatabaseMeta dbinfo) Test the database connectionMethods inherited from class org.pentaho.di.ui.core.database.dialog.XulDatabaseDialog
getDatabaseMeta, isModalDialog, setDatabaseMeta, setDatabases, setModalDialog
-
Constructor Details
-
DatabaseDialog
public DatabaseDialog(org.eclipse.swt.widgets.Shell parent) -
DatabaseDialog
public DatabaseDialog(org.eclipse.swt.widgets.Shell parent, org.pentaho.di.core.database.DatabaseMeta databaseMeta)
-
-
Method Details
-
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)
-