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);
}