boolean rebaseing = isInRebasingState(repo);
boolean canContinue = rebaseing && canContinue(repo);
addMenuItem(menu, UIText.RebasePulldownAction_Continue, rebaseContinue,
new ContinueRebaseCommand(), canContinue);
addMenuItem(menu, UIText.RebasePulldownAction_Skip, rebaseSkip,
new SkipRebaseCommand(), rebaseing);
addMenuItem(menu, UIText.RebasePulldownAction_Abort, rebaseAbort,
new AbortRebaseCommand(), rebaseing);
return menu;