Package jetbrains.communicator.ide

Examples of jetbrains.communicator.ide.SendCodePointerEvent


  }

  @Override
  public void sendCodeIntervalPointer(final VFile file, final CodePointer pointer,
                                      final String comment, EventBroadcaster eventBroadcaster) {
    eventBroadcaster.doChange(new SendCodePointerEvent(comment, file, pointer, this), new Runnable() {
      @Override
      public void run() {
        sendXmlMessage(new CodePointerXmlMessage(comment, pointer, file));
      }
    });
View Full Code Here


    LocalMessage outgoingEvent = myFacade.createLocalMessageForOutgoingEvent(new SendMessageEvent("message", myUser));
    assertTrue(outgoingEvent instanceof OutgoingLocalMessage);
  }

  public void testCreateLocalMessage_OutgoingCodePointer() throws Exception {
    SendCodePointerEvent event = new SendCodePointerEvent("message", VFile.create("a path"), new CodePointer(3,4), myUser);
    LocalMessage outgoingEvent = myFacade.createLocalMessageForOutgoingEvent(event);
    assertTrue(outgoingEvent instanceof OutgoingCodePointerLocalMessage);
  }
View Full Code Here

TOP

Related Classes of jetbrains.communicator.ide.SendCodePointerEvent

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.