Package jetbrains.communicator.commands

Examples of jetbrains.communicator.commands.ShowDiffCommand


    if (vFile == null) {
      LOG.info("Unable to get file " + file);
      return;
    }

    ShowDiffCommand command = Pico.getCommandManager().getCommand(ShowDiffCommand.class, BaseAction.getContainer(editor.getProject()));
    command.setUser(user);
    command.setVFile(vFile);
    command.execute();
  }
View Full Code Here


  public void update(AnActionEvent e) {
    e.getPresentation().setText(StringUtil.getMsg("diff.action.text"));
    e.getPresentation().setDescription(StringUtil.getMsg("diff.action.description"));
    e.getPresentation().setIcon(AllIcons.Actions.Diff);

    ShowDiffCommand showDiffCommand = getCommand(e);
    if (showDiffCommand != null) {
      showDiffCommand.setVFile(BaseVFileAction.getVFile(myFileTree));
      showDiffCommand.setUser(getUser());
    }

    super.update(e);
  }
View Full Code Here

TOP

Related Classes of jetbrains.communicator.commands.ShowDiffCommand

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.