org.pentaho.platform.dataaccess.datasource.wizard.controllers
Class WizardRelationalDatasourceController
java.lang.Object
org.pentaho.ui.xul.XulEventSourceAdapter
org.pentaho.ui.xul.impl.AbstractXulEventHandler
org.pentaho.platform.dataaccess.datasource.wizard.controllers.WizardRelationalDatasourceController
- All Implemented Interfaces:
- IDatasourceTypeController, org.pentaho.ui.xul.impl.XulEventHandler, org.pentaho.ui.xul.XulEventSource
public class WizardRelationalDatasourceController
- extends org.pentaho.ui.xul.impl.AbstractXulEventHandler
- implements IDatasourceTypeController
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 |
MAX_SAMPLE_DATA_ROWS
public static final int MAX_SAMPLE_DATA_ROWS
- See Also:
- Constant Field Values
MAX_COL_SIZE
public static final int MAX_COL_SIZE
- See Also:
- Constant Field Values
EMPTY_STRING
public static final String EMPTY_STRING
- See Also:
- Constant Field Values
COMMA
public static final String COMMA
- See Also:
- Constant Field Values
WizardRelationalDatasourceController
public WizardRelationalDatasourceController()
init
public void init()
setBindingFactory
public void setBindingFactory(org.pentaho.ui.xul.binding.BindingFactory bf)
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
editQuery
public void editQuery()
closeConnectionDialog
public void closeConnectionDialog()
closeApplyQueryConfirmationDialog
public void closeApplyQueryConfirmationDialog()
displayPreview
public void displayPreview()
closePreviewResultsDialog
public void closePreviewResultsDialog()
getService
public IXulAsyncDatasourceService getService()
setService
public void setService(IXulAsyncDatasourceService service)
openErrorDialog
public void openErrorDialog(String title,
String message)
closeErrorDialog
public void closeErrorDialog()
openSuccesDialog
public void openSuccesDialog(String title,
String message)
closeSuccessDialog
public void closeSuccessDialog()
showWaitingDialog
public void showWaitingDialog(String title,
String message)
hideWaitingDialog
public void hideWaitingDialog()
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
getWaitingDialog
public WaitingDialog getWaitingDialog()
- Returns:
- the waitingDialog
setWaitingDialog
public void setWaitingDialog(WaitingDialog waitingDialog)
- Parameters:
waitingDialog
- the waitingDialog to set
closeAggregationEditorDialog
public void closeAggregationEditorDialog()
saveAggregationValues
public void saveAggregationValues()
closeSampleDataDialog
public void closeSampleDataDialog()
initializeBusinessData
public void initializeBusinessData(BusinessData businessData)
supportsBusinessData
public boolean supportsBusinessData(BusinessData businessData)
finishing
public boolean finishing()
- Specified by:
finishing
in interface IDatasourceTypeController
initializeBusinessData
public void initializeBusinessData(DatasourceModel model)
- Specified by:
initializeBusinessData
in interface IDatasourceTypeController
supportsBusinessData
public boolean supportsBusinessData(DatasourceModel model)
- Specified by:
supportsBusinessData
in interface IDatasourceTypeController