use of org.pentaho.di.ui.core.gui.WindowProperty in project pentaho-kettle by pentaho.
the class TransHopDialog method dispose.
public void dispose() {
props.setScreen(new WindowProperty(shell));
shell.dispose();
}
use of org.pentaho.di.ui.core.gui.WindowProperty in project pentaho-cassandra-plugin by pentaho.
the class EnterCQLDialog method dispose.
public void dispose() {
m_props.setScreen(new WindowProperty(m_shell));
m_shell.dispose();
}
use of org.pentaho.di.ui.core.gui.WindowProperty in project pentaho-kettle by pentaho.
the class Translator2 method quitFile.
public boolean quitFile() {
java.util.List<MessagesStore> changedMessagesStores = store.getChangedMessagesStores();
if (changedMessagesStores.size() > 0) {
MessageBox mb = new MessageBox(shell, SWT.YES | SWT.NO | SWT.ICON_WARNING);
mb.setMessage(BaseMessages.getString(PKG, "i18nDialog.ChangedFilesWhenExit", changedMessagesStores.size() + ""));
mb.setText(BaseMessages.getString(PKG, "i18nDialog.Warning"));
int answer = mb.open();
if (answer == SWT.NO) {
return false;
}
}
WindowProperty winprop = new WindowProperty(shell);
props.setScreen(winprop);
props.saveProps();
shell.dispose();
display.dispose();
return true;
}
use of org.pentaho.di.ui.core.gui.WindowProperty in project pentaho-kettle by pentaho.
the class JobEntryColumnsExistDialog method dispose.
public void dispose() {
WindowProperty winprop = new WindowProperty(shell);
props.setScreen(winprop);
shell.dispose();
}
use of org.pentaho.di.ui.core.gui.WindowProperty in project pentaho-kettle by pentaho.
the class JobEntryConnectedToRepositoryDialog method dispose.
public void dispose() {
WindowProperty winprop = new WindowProperty(shell);
props.setScreen(winprop);
shell.dispose();
}
Aggregations