Package jetbrains.communicator.ide

Examples of jetbrains.communicator.ide.UserListComponent


        IDEtalkMessagesWindow messagesWindow = project.getComponent(IDEtalkMessagesWindow.class);
        selectedUser = messagesWindow.getSelectedUser();
        focused = messagesWindow.hasFocus();
      }
      else {
        UserListComponent userList = (UserListComponent) container.getComponentInstanceOfType(UserListComponent.class);
        selectedUser = userList.getSelectedUser();
        focused = userList.getComponent().hasFocus();
      }
      command.setUser(selectedUser);

      e.getPresentation().setEnabled(command.isEnabled() && focused);
    }
View Full Code Here


  protected void prepareCommand(T command, Editor editor, MutablePicoContainer container) {
  }

  private void setUser(MutablePicoContainer container, T command) {
    UserListComponent userList = (UserListComponent) container.getComponentInstanceOfType(UserListComponent.class);
    command.setUser(userList.getSelectedUser());
  }
View Full Code Here

TOP

Related Classes of jetbrains.communicator.ide.UserListComponent

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.