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

java.lang.Object
  extended by org.pentaho.di.ui.core.database.dialog.XulDatabaseDialog
Direct Known Subclasses:
DatabaseDialog

public class XulDatabaseDialog
extends Object


Constructor Summary
XulDatabaseDialog(Shell parent)
           
 
Method Summary
 DatabaseMeta getDatabaseMeta()
           
 boolean isModalDialog()
           
 String open()
          Opens the XUL database dialog
 void setDatabaseMeta(DatabaseMeta dbMeta)
           
 void setDatabases(List<DatabaseMeta> databases)
           
 void setModalDialog(boolean modalDialog)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XulDatabaseDialog

public XulDatabaseDialog(Shell parent)
Method Detail

open

public String open()
Opens the XUL database dialog

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

setDatabaseMeta

public void setDatabaseMeta(DatabaseMeta dbMeta)

getDatabaseMeta

public DatabaseMeta getDatabaseMeta()

setDatabases

public void setDatabases(List<DatabaseMeta> databases)

isModalDialog

public boolean isModalDialog()
Returns:
the modalDialog

setModalDialog

public void setModalDialog(boolean modalDialog)
Parameters:
modalDialog - the modalDialog to set