Search in sources :

Example 1 with EnterOptionsDialog

use of org.pentaho.di.ui.core.dialog.EnterOptionsDialog in project pentaho-kettle by pentaho.

the class Spoon method editOptions.

public void editOptions() {
    EnterOptionsDialog eod = new EnterOptionsDialog(shell);
    if (eod.open() != null) {
        props.saveProps();
        loadSettings();
        changeLooks();
        MessageBox mb = new MessageBox(shell, SWT.ICON_INFORMATION);
        mb.setMessage(BaseMessages.getString(PKG, "Spoon.Dialog.PleaseRestartApplication.Message"));
        mb.setText(BaseMessages.getString(PKG, "Spoon.Dialog.PleaseRestartApplication.Title"));
        mb.open();
    }
}
Also used : EnterOptionsDialog(org.pentaho.di.ui.core.dialog.EnterOptionsDialog) MessageBox(org.eclipse.swt.widgets.MessageBox)

Aggregations

MessageBox (org.eclipse.swt.widgets.MessageBox)1 EnterOptionsDialog (org.pentaho.di.ui.core.dialog.EnterOptionsDialog)1