use of org.pentaho.ui.xul.containers.XulDialog in project pentaho-kettle by pentaho.
the class XulPreviewRowsDialog method open.
public void open() {
try {
KettleXulLoader theLoader = new KettleXulLoader();
theLoader.setSettingsManager(XulSpoonSettingsManager.getInstance());
theLoader.setOuterContext(this.shell);
this.container = theLoader.loadXul(XUL);
this.controller = new XulPreviewRowsController(this.shell, this.databaseMeta, this.schema, this.table, this.limit);
this.container.addEventHandler(this.controller);
this.runner = new SwtXulRunner();
this.runner.addContainer(this.container);
this.runner.initialize();
XulDialog thePreviewDialog = (XulDialog) this.container.getDocumentRoot().getElementById("previewRowsDialog");
thePreviewDialog.show();
} catch (Exception e) {
logger.info(e);
}
}
use of org.pentaho.ui.xul.containers.XulDialog in project pentaho-kettle by pentaho.
the class XulStepFieldsController method editOriginStep.
public void editOriginStep() {
StepFieldNode theSelectedStep = (StepFieldNode) this.stepFieldsTree.getSelectedItem();
if (theSelectedStep != null) {
XulDialog theStepsDialog = (XulDialog) document.getElementById("stepFieldsDialog");
theStepsDialog.hide();
}
}
use of org.pentaho.ui.xul.containers.XulDialog in project pentaho-kettle by pentaho.
the class PurRepositoryDialog method hide.
public void hide() {
// $NON-NLS-1$
XulDialog dialog = (XulDialog) container.getDocumentRoot().getElementById("repository-config-dialog");
dialog.hide();
}
use of org.pentaho.ui.xul.containers.XulDialog in project pentaho-kettle by pentaho.
the class PurRepositoryDialog method show.
public void show() {
// $NON-NLS-1$
XulDialog dialog = (XulDialog) container.getDocumentRoot().getElementById("repository-config-dialog");
dialog.show();
}
use of org.pentaho.ui.xul.containers.XulDialog in project pentaho-kettle by pentaho.
the class RepositoryExplorer method show.
public void show() {
XulDialog dialog = (XulDialog) container.getDocumentRoot().getElementById("repository-explorer-dialog");
dialog.show();
}
Aggregations