Package com.google.wave.api

Examples of com.google.wave.api.Wavelet.appendBlip()


          addButton(event.getBlip());
          break;
        case BLIP_SUBMITTED:         
          if (!isRoot(currentBlip, wavelet)) {
            String text = currentBlip.getDocument().getText();
            wavelet.appendBlip().getDocument().append("[echo] " + text);            
          }                  
          break;
        case WAVELET_PARTICIPANTS_CHANGED:
          for (String participant : event.getAddedParticipants()) {           
            if (!participant.equals(BOT_NAME) &&
View Full Code Here


          break;
        case WAVELET_PARTICIPANTS_CHANGED:
          for (String participant : event.getAddedParticipants()) {           
            if (!participant.equals(BOT_NAME) &&
                !participant.equals(wavelet.getCreator())) {
              wavelet.appendBlip().getDocument().append("Hi " + participant + "!");
            }                       
          }         
          break;           
        case FORM_BUTTON_CLICKED:
          if (event.getButtonName().equals("my_button")) {
View Full Code Here

          }         
          break;           
        case FORM_BUTTON_CLICKED:
          if (event.getButtonName().equals("my_button")) {
            String clicker = event.getModifiedBy();
            wavelet.appendBlip().getDocument().append(clicker + " has clicked the button!");
          }
          FormView formView = currentBlip.getDocument().getFormView();         
          if (formView.getFormElement("my_button") != null) {
           
          }         
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.