Package com.google.speedtracer.client.model

Examples of com.google.speedtracer.client.model.WhitelistEntry


      addButton.addClickHandler(new ClickHandler() {
        public void onClick(ClickEvent event) {
          String hostString = hostField.getText();
          String portString = portField.getText();
          // TODO(zundel): some kind of validation
          WhitelistEntry whitelistEntry = WhitelistEntry.create(hostString,
              portString);
          String validationErrors = whitelistEntry.getValidationErrors();
          if (validationErrors != null) {
            WindowExt.alert("Error: " + validationErrors);
          } else {
            whitelistTable.addWhitelistEntry(whitelistEntry);
            whitelistModel.saveEntries(whitelistTable.getEntries());
View Full Code Here

TOP

Related Classes of com.google.speedtracer.client.model.WhitelistEntry

Copyright © 2018 www.massapicom. 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.