Search in sources :

Example 16 with XulDialog

use of org.pentaho.ui.xul.containers.XulDialog in project data-access by pentaho.

the class MessageHandler method showDetailedSuccessDialog.

@Bindable
public void showDetailedSuccessDialog(String message, String detailMessage) {
    XulDialog detailedSuccessDialog = (XulDialog) document.getElementById("successDetailsDialog");
    XulLabel successLabel = (XulLabel) document.getElementById("success_details_label");
    successLabel.setValue(message);
    XulTextbox detailMessageBox = (XulTextbox) document.getElementById("success_dialog_details");
    detailMessageBox.setValue(detailMessage);
    detailedSuccessDialog.show();
}
Also used : XulTextbox(org.pentaho.ui.xul.components.XulTextbox) XulDialog(org.pentaho.ui.xul.containers.XulDialog) XulLabel(org.pentaho.ui.xul.components.XulLabel) Bindable(org.pentaho.ui.xul.stereotype.Bindable)

Aggregations

XulDialog (org.pentaho.ui.xul.containers.XulDialog)16 KettleXulLoader (org.pentaho.di.ui.xul.KettleXulLoader)3 XulLabel (org.pentaho.ui.xul.components.XulLabel)3 SwtXulRunner (org.pentaho.ui.xul.swt.SwtXulRunner)3 Shell (org.eclipse.swt.widgets.Shell)2 KettleException (org.pentaho.di.core.exception.KettleException)2 XulDomContainer (org.pentaho.ui.xul.XulDomContainer)2 XulException (org.pentaho.ui.xul.XulException)2 Bindable (org.pentaho.ui.xul.stereotype.Bindable)2 File (java.io.File)1 SelectionAdapter (org.eclipse.swt.events.SelectionAdapter)1 SelectionEvent (org.eclipse.swt.events.SelectionEvent)1 RowLayout (org.eclipse.swt.layout.RowLayout)1 Button (org.eclipse.swt.widgets.Button)1 Label (org.eclipse.swt.widgets.Label)1 IDatasourceSummary (org.pentaho.platform.dataaccess.datasource.wizard.IDatasourceSummary)1 MultiTableDatasourceDTO (org.pentaho.platform.dataaccess.datasource.wizard.service.impl.MultiTableDatasourceDTO)1 DatabaseConnectionDialog (org.pentaho.ui.database.DatabaseConnectionDialog)1 XulTextbox (org.pentaho.ui.xul.components.XulTextbox)1 XulRoot (org.pentaho.ui.xul.containers.XulRoot)1