Package jetbrains.communicator.core.commands

Examples of jetbrains.communicator.core.commands.NamedUserCommand


  public void update(AnActionEvent e) {
    super.update(e);
    UserCommand command = getCommand(e);
    e.getPresentation().setEnabled(command != null && command.isEnabled());
    if (command instanceof NamedUserCommand) {
      NamedUserCommand userCommand = (NamedUserCommand) command;
      e.getPresentation().setText(userCommand.getName(), true);
      e.getPresentation().setIcon(userCommand.getIcon());
    }
  }
View Full Code Here

TOP

Related Classes of jetbrains.communicator.core.commands.NamedUserCommand

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.