Package jetbrains.communicator.core.users

Examples of jetbrains.communicator.core.users.UserAction


  public boolean enabled() {
    Object[] nodes = myUserListComponent.getSelectedNodes();
    final Boolean[] val = new Boolean[1];

    return nodes.length > 0 && doForSelected(new UserAction() {
      public boolean executeAndContinue(User user) {
        if (val[0] == null) {
          val[0] = user.canAccessMyFiles();
        }
        else {
View Full Code Here


      }
    });
  }

  public void execute() {
    doForSelected(new UserAction() {
      public boolean executeAndContinue(User user) {
        toggleAccessToFiles(user);
        return true;
      }
    });
View Full Code Here

  }

  public boolean isSelected() {
    final Boolean[] val = new Boolean[1];

    doForSelected(new UserAction() {
      public boolean executeAndContinue(User user) {
        val[0] = user.canAccessMyFiles();
        return false;
      }
    });
View Full Code Here

TOP

Related Classes of jetbrains.communicator.core.users.UserAction

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.