org.pentaho.platform.dataaccess.datasource.wizard.controllers
Class WizardConnectionController
java.lang.Object
org.pentaho.ui.xul.XulEventSourceAdapter
org.pentaho.ui.xul.impl.AbstractXulEventHandler
org.pentaho.platform.dataaccess.datasource.wizard.controllers.WizardConnectionController
- All Implemented Interfaces:
- org.pentaho.ui.xul.impl.XulEventHandler, org.pentaho.ui.xul.XulEventSource
public class WizardConnectionController
- extends org.pentaho.ui.xul.impl.AbstractXulEventHandler
Methods inherited from class org.pentaho.ui.xul.impl.AbstractXulEventHandler |
bind, bind, getData, getXulDomContainer, setData, setName, setXulDomContainer |
Methods inherited from class org.pentaho.ui.xul.XulEventSourceAdapter |
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener |
WizardConnectionController
public WizardConnectionController(org.pentaho.ui.xul.dom.Document document)
init
public void init()
openErrorDialog
public void openErrorDialog(String title,
String message)
closeErrorDialog
public void closeErrorDialog()
closeSuccessDetailsDialog
public void closeSuccessDetailsDialog()
toggleDetails
public void toggleDetails()
openSuccesDialog
public void openSuccesDialog(String title,
String message)
closeSuccessDialog
public void closeSuccessDialog()
toggleSuccessDetails
public void toggleSuccessDetails()
closeErrorDetailsDialog
public void closeErrorDetailsDialog()
setDatasourceModel
public void setDatasourceModel(DatasourceModel model)
getDatasourceModel
public DatasourceModel getDatasourceModel()
getName
public String getName()
- Specified by:
getName
in interface org.pentaho.ui.xul.impl.XulEventHandler
- Overrides:
getName
in class org.pentaho.ui.xul.impl.AbstractXulEventHandler
closeDialog
public void closeDialog()
closeSaveConnectionConfirmationDialog
public void closeSaveConnectionConfirmationDialog()
addConnection
public void addConnection()
testConnection
public void testConnection()
deleteConnection
public void deleteConnection()
saveConnection
public void saveConnection()
getConnectionService
public IXulAsyncConnectionService getConnectionService()
setConnectionService
public void setConnectionService(IXulAsyncConnectionService connectionService)
addConnectionDialogListener
public void addConnectionDialogListener(ConnectionDialogListener listener)
removeConnectionDialogListener
public void removeConnectionDialogListener(ConnectionDialogListener listener)
displayErrorMessage
public void displayErrorMessage(Throwable th)
setDatasourceMessages
public void setDatasourceMessages(DatasourceMessages datasourceMessages)
- Parameters:
datasourceMessages
- the datasourceMessages to set
getDatasourceMessages
public DatasourceMessages getDatasourceMessages()
- Returns:
- the datasourceMessages
onDialogAccept
public void onDialogAccept(IDatabaseConnection arg0)
onDialogCancel
public void onDialogCancel()
onDialogReady
public void onDialogReady()
showAddConnectionDialog
public void showAddConnectionDialog()
showEditConnectionDialog
public void showEditConnectionDialog()
showRemoveConnectionDialog
public void showRemoveConnectionDialog()
closeRemoveConfirmationDialog
public void closeRemoveConfirmationDialog()