Package jetbrains.communicator.commands

Examples of jetbrains.communicator.commands.ToggleFileAccessCommand


  public SelectedUserCanReadMyFiles() {
  }

  public boolean isSelected(AnActionEvent anActionEvent) {
    ToggleFileAccessCommand command = getCommand(anActionEvent);
    return command != null && command.isSelected();
  }
View Full Code Here


    super.update(e);
    if (e.getProject() == null) {
      e.getPresentation().setEnabled(false);
      return;
    }
    ToggleFileAccessCommand command = getCommand(e);
    boolean enabled = command.isEnabled();
    e.getPresentation().setEnabled(enabled);
    e.getPresentation().setText(command.getText());
  }
View Full Code Here

TOP

Related Classes of jetbrains.communicator.commands.ToggleFileAccessCommand

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.