Java Code Examples for org.pentaho.ui.xul.containers.XulDialog#hide()

The following examples show how to use org.pentaho.ui.xul.containers.XulDialog#hide() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: XulStepFieldsController.java    From pentaho-kettle with Apache License 2.0 5 votes vote down vote up
public void editOriginStep() {
  StepFieldNode theSelectedStep = (StepFieldNode) this.stepFieldsTree.getSelectedItem();
  if ( theSelectedStep != null ) {
    XulDialog theStepsDialog = (XulDialog) document.getElementById( "stepFieldsDialog" );
    theStepsDialog.hide();
  }
}
 
Example 2
Source File: ConnectionController.java    From pentaho-aggdesigner with GNU General Public License v2.0 5 votes vote down vote up
@RequestHandler
public void connectErrorDialogDismiss() {
  XulDialog connectErrorDialog = (XulDialog) document.getElementById(CONNECT_ERROR_DIALOG);
  Assert.notNull(connectErrorDialog, "missing element from document");
  if (!connectErrorDialog.isHidden()) {
    connectErrorDialog.hide();
  }
}
 
Example 3
Source File: GwtMqlEditor.java    From mql-editor with GNU Lesser General Public License v2.1 4 votes vote down vote up
public void hide() {
  XulDialog dialog = (XulDialog) container.getDocumentRoot().getElementById( "mqlEditorDialog" );
  dialog.hide();
}
 
Example 4
Source File: PurRepositoryDialog.java    From pentaho-kettle with Apache License 2.0 4 votes vote down vote up
public void hide() {
  XulDialog dialog = (XulDialog) container.getDocumentRoot().getElementById( "repository-config-dialog" ); //$NON-NLS-1$
  dialog.hide();
}
 
Example 5
Source File: ExportHandler.java    From pentaho-aggdesigner with GNU General Public License v2.0 4 votes vote down vote up
public void closeDialog() {
  XulDialog dialog = (XulDialog) document.getElementById(ELEM_ID_EXPORT_DIALOG);
  dialog.hide();
  updateAggDetails();
}
 
Example 6
Source File: ExportHandler.java    From pentaho-aggdesigner with GNU General Public License v2.0 4 votes vote down vote up
public void hideRelationalPreview() {
  XulDialog previewDialog = (XulDialog) document.getElementById(ELEM_ID_PREVIEW_DIALOG);
  previewDialog.hide();
}
 
Example 7
Source File: MainController.java    From pentaho-aggdesigner with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Called by XUL event.
 */
public void validation1Done() {
  final XulDialog validationDialog1 = (XulDialog) document.getElementById("validationDialog1");
  validationDialog1.hide();
}
 
Example 8
Source File: MainController.java    From pentaho-aggdesigner with GNU General Public License v2.0 4 votes vote down vote up
public void validation2Done() {
  final XulDialog validationDialog2 = (XulDialog) document.getElementById("validationDialog2");
  validationDialog2.hide();
}
 
Example 9
Source File: MainController.java    From pentaho-aggdesigner with GNU General Public License v2.0 4 votes vote down vote up
public void helpAboutClose() {
  XulDialog helpAboutDialog = (XulDialog) document.getElementById("helpAboutDialog");
  helpAboutDialog.hide();
}
 
Example 10
Source File: ConnectionController.java    From pentaho-aggdesigner with GNU General Public License v2.0 4 votes vote down vote up
@RequestHandler
public void hideConnectionDialog() {
  XulDialog connectionDialog = (XulDialog) document.getElementById(CONNECTION_DIALOG);
  connectionDialog.hide();
}
 
Example 11
Source File: AlgorithmController.java    From pentaho-aggdesigner with GNU General Public License v2.0 4 votes vote down vote up
public void stopAlgo() {
  logger.debug("enter stopAlgo");
  XulDialog dialog = (XulDialog) document.getElementById("progressDialog");
  dialog.hide();
  algorithmRunner.stop();
}
 
Example 12
Source File: AlgorithmController.java    From pentaho-aggdesigner with GNU General Public License v2.0 4 votes vote down vote up
private void algoDone() {
  logger.debug("enter algoDone");
  XulDialog dialog = (XulDialog) document.getElementById("progressDialog");
  dialog.hide();
  
}