Package org.pentaho.gwt.widgets.client.dialogs

Examples of org.pentaho.gwt.widgets.client.dialogs.MessageDialogBox.center()


            @Override
            public void onError( Request request, Throwable exception ) {
              MessageDialogBox dialogBox =
                  new MessageDialogBox( Messages.getString( "error" ), Messages.getString( "couldNotDeleteFolder" ), //$NON-NLS-1$ //$NON-NLS-2$
                      false, false, true );
              dialogBox.center();
              event.setMessage( Messages.getString( "couldNotDeleteFolder" ) );
              EventBusUtil.EVENT_BUS.fireEvent( event );
            }

            @Override
View Full Code Here


                EventBusUtil.EVENT_BUS.fireEvent( event );
              } else {
                MessageDialogBox dialogBox =
                    new MessageDialogBox( Messages.getString( "error" ), Messages.getString( "couldNotDeleteFolder" ), //$NON-NLS-1$ //$NON-NLS-2$
                        false, false, true );
                dialogBox.center();
                event.setMessage( Messages.getString( "couldNotDeleteFolder" ) );
                EventBusUtil.EVENT_BUS.fireEvent( event );
              }
            }
View Full Code Here

          } );
        } catch ( RequestException e ) {
          MessageDialogBox dialogBox =
              new MessageDialogBox( Messages.getString( "error" ), Messages.getString( "couldNotDeleteFolder" ), //$NON-NLS-1$ //$NON-NLS-2$
                  false, false, true );
          dialogBox.center();
          event.setMessage( Messages.getString( "couldNotDeleteFolder" ) );
          EventBusUtil.EVENT_BUS.fireEvent( event );
        }
      }
    };
View Full Code Here

        boolean isValid = !"".equals( textBox.getText() ) && textBox.getText() != null; //$NON-NLS-1$
        if ( !isValid ) {
          MessageDialogBox dialogBox =
              new MessageDialogBox(
                  Messages.getString( "error" ), Messages.getString( "urlNotSpecified" ), false, false, true ); //$NON-NLS-1$ //$NON-NLS-2$
          dialogBox.center();
        }
        return isValid;
      }
    };
    PromptDialogBox promptDialog =
View Full Code Here

        public void onResponseReceived( Request request, Response response ) {
          MessageDialogBox dialogBox =
              new MessageDialogBox(
                  Messages.getString( "info" ), Messages.getString( "mondrianSchemaCacheFlushedSuccessfully" ), false, false, true ); //$NON-NLS-1$ //$NON-NLS-2$
          dialogBox.center();
        }
      } );
    } catch ( RequestException e ) {
      Window.alert( e.getMessage() );
      // showError(e);
View Full Code Here

        }

        public void onResponseReceived( Request request, Response response ) {
          MessageDialogBox dialogBox =
              new MessageDialogBox( Messages.getString( "info" ), response.getText(), true, false, true ); //$NON-NLS-1$
          dialogBox.center();
        }
      } );
    } catch ( RequestException e ) {
      Window.alert( e.getMessage() );
      // showError(e);
View Full Code Here

          @Override
          public void onError( Request request, Throwable exception ) {
            MessageDialogBox dialogBox =
                new MessageDialogBox( Messages.getString( "error" ), exception.toString(), false, false, true ); //$NON-NLS-1$
            dialogBox.center();
            setDone( false );
          }

          @Override
          public void onResponseReceived( Request request, Response response ) {
View Full Code Here

              if ( rib != null && rib.isBoolean() != null && rib.isBoolean().booleanValue() ) {
                MessageDialogBox dialogBox =
                    new MessageDialogBox(
                        Messages.getString( "runInBackground" ), Messages.getString( "backgroundExecutionStarted" ), //$NON-NLS-1$ //$NON-NLS-2$
                        false, false, true );
                dialogBox.center();
              } else if ( !PerspectiveManager.getInstance().getActivePerspective().getId().equals(
                  PerspectiveManager.SCHEDULES_PERSPECTIVE ) ) {
                ScheduleCreateStatusDialog successDialog = new ScheduleCreateStatusDialog();
                successDialog.center();
              } else {
View Full Code Here

              } else {
                MessageDialogBox dialogBox =
                    new MessageDialogBox(
                        Messages.getString( "scheduleUpdatedTitle" ), Messages.getString( "scheduleUpdatedMessage" ), //$NON-NLS-1$ //$NON-NLS-2$
                        false, false, true );
                dialogBox.center();
              }
            } else {
              MessageDialogBox dialogBox = new MessageDialogBox( Messages.getString( "error" ), response.getText(), //$NON-NLS-1$
                  false, false, true );
              dialogBox.center();
View Full Code Here

                dialogBox.center();
              }
            } else {
              MessageDialogBox dialogBox = new MessageDialogBox( Messages.getString( "error" ), response.getText(), //$NON-NLS-1$
                  false, false, true );
              dialogBox.center();
              setDone( false );
            }
          }

        } );
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.