Examples of ToggleFileAccessCommand


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

Examples of jetbrains.communicator.commands.ToggleFileAccessCommand

    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
Copyright © 2018 www.massapi.com. 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.