@Override
public void onVcsRefresh(VcsRefreshEvent event)
{
view_.setItems(gitState_.getStatus());
RemoteBranchInfo remote = gitState_.getRemoteBranchInfo();
if (remote != null && remote.getCommitsBehind() > 0)
{
String message =
"Your branch is ahead of '" + remote.getName() + "' by " +
remote.getCommitsBehind() + " commit" +
(remote.getCommitsBehind() > 1 ? "s" : "") + ".";
view_.showInfoBar(message);
}
else
{