Package com.google.wave.api.event

Examples of com.google.wave.api.event.WaveletBlipRemovedEvent


    ObservableConversationBlip newBlip = rootThread.appendBlip();
    newBlip.delete();
    EventMessageBundle messages = generateAndCheckEvents(EventType.WAVELET_BLIP_REMOVED);
    assertEquals("Expected two events", 2, messages.getEvents().size());
    // Blip removed should be the second event.
    WaveletBlipRemovedEvent event = WaveletBlipRemovedEvent.as(messages.getEvents().get(1));
    assertEquals("Expected the same id as the removed blip", newBlip.getId(),
        event.getRemovedBlipId());
  }
View Full Code Here


    @Override
    public void onBlipDeleted(ObservableConversationBlip blip) {
      if (capabilities.containsKey(EventType.WAVELET_BLIP_REMOVED)) {
        String rootBlipId = ConversationUtil.getRootBlipId(conversation);
        WaveletBlipRemovedEvent event = new WaveletBlipRemovedEvent(
            null, null, deltaAuthor.getAddress(), deltaTimestamp, rootBlipId, blip.getId());
        addEvent(event, capabilities, rootBlipId, messages);
      }
    }
View Full Code Here

    @Override
    public void onBlipDeleted(ObservableConversationBlip blip) {
      if (capabilities.containsKey(EventType.WAVELET_BLIP_REMOVED)) {
        String rootBlipId = ConversationUtil.getRootBlipId(conversation);
        WaveletBlipRemovedEvent event = new WaveletBlipRemovedEvent(
            null, null, deltaAuthor.getAddress(), deltaTimestamp, rootBlipId, blip.getId());
        addEvent(event, capabilities, rootBlipId, messages);
      }
    }
View Full Code Here

TOP

Related Classes of com.google.wave.api.event.WaveletBlipRemovedEvent

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.