Package jetbrains.communicator.core

Examples of jetbrains.communicator.core.IDEtalkAdapter


  private TestUtil() {
  }

  public static void testSendCodePointer_Functional(BaseTestCase testCase, User self) {
    final String[] log = new String[]{""};
    testCase.getBroadcaster().addListener(new IDEtalkAdapter(){
      @Override
      public void afterChange(IDEtalkEvent event) {
        event.accept(new EventVisitor(){
          @Override public void visitCodePointerEvent(CodePointerEvent event) {
            log[0] += event.getRemoteUser()+ ' ';
View Full Code Here


  }

  public static void testSendMessage_Functional(BaseTestCase testCase, User self) {
    final String[] log = new String[]{""};
    final long[] whenSent = new long[1];
    testCase.getBroadcaster().addListener(new IDEtalkAdapter() {
      @Override
      public void afterChange(IDEtalkEvent event) {
        event.accept(new EventVisitor() {
          @Override public void visitMessageEvent(MessageEvent event) {
            super.visitMessageEvent(event);
View Full Code Here

      outputMessage(consoleMessage);
    }
  }

  private void setupIDEtalkListener() {
    myListener = new IDEtalkAdapter() {
      @Override
      public void afterChange(IDEtalkEvent event) {
        event.accept(new EventVisitor(){
          @Override public void visitSettingsChanged(SettingsChanged settingsChanged) {
            updateKeyBindings();
View Full Code Here

    myXStream.alias("user", UserImpl.class);
    myXStream.alias("users", getClass());

    readAll();

    mySaver = new IDEtalkAdapter() {
      public void afterChange(IDEtalkEvent event) {
        event.accept(new EventVisitor(){
          @Override public void visitUserAdded(UserEvent.Added event) {
            super.visitUserAdded(event);
            saveAll();
View Full Code Here

    myUserModel = userModel;
    myLocalMessageDispatcher = localMessageDispatcher;
    myBroadcaster = myUserModel.getBroadcaster();
    myTree = tree;

    myListener = new IDEtalkAdapter() {
      public void afterChange(IDEtalkEvent event) {
        event.accept(new EventVisitor(){

          @Override public void visitUserRemoved(UserEvent.Removed event) {
            updateTree(null);
View Full Code Here

    myTree.setTransferHandler(new UserTreeTransferHandler(myUserModel));
    enableDnD();
    myTree.setModel(new UsersTreeModel(myTree, userModel, myLocalMessageDispatcher));

    myExpandTreeNodeListener = new IDEtalkAdapter() {
      @Override
      public void afterChange(IDEtalkEvent event) {
        event.accept(new EventVisitor(){

          @SuppressWarnings({"RefusedBequest"})
View Full Code Here

TOP

Related Classes of jetbrains.communicator.core.IDEtalkAdapter

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.