Examples of GwtMessageBox


Examples of org.pentaho.ui.xul.gwt.tags.GwtMessageBox

            if ( perspective != null ) {
              PerspectiveManager.getInstance().setPerspective( perspective );
            }

            if ( perspective == null && content_panel_id == null && content_url == null ) {
              GwtMessageBox warning = new GwtMessageBox();
              warning.setTitle( Messages.getString( "warning" ) ); //$NON-NLS-1$
              warning.setMessage( content );
              warning.setButtons( new Object[GwtMessageBox.ACCEPT] );
              warning.setAcceptLabel( Messages.getString( "close" ) ); //$NON-NLS-1$
              warning.show();
            }
          }
        }
      };
View Full Code Here

Examples of org.pentaho.ui.xul.gwt.tags.GwtMessageBox

  private boolean isValidName( String name, String reservedSymbols ) {
    return !StringUtils.containsAnyChars( name, reservedSymbols );
  }

  private void showErrorMessage( String userName, String reservedCharacters ) {
    GwtMessageBox messageBox = new GwtMessageBox();
    messageBox.setTitle( Messages.getString( "error" ) );
    messageBox.setMessage( Messages.getString( "prohibitedNameSymbols", userName, reservedCharacters ) );
    messageBox.setButtons( new Object[GwtMessageBox.ACCEPT] );
    messageBox.setWidth( 300 );
    messageBox.show();
  }
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.